Skip to content

Error trying to run install_translations() #26

@leobelen

Description

@leobelen

Doing the following on an empty package on R 3.5.1 on macOS (with all supporting software installed):

library("msgtools")
use_localization()
en <- make_translation("en", translator = "A translator <atranslator@translator.com>")
write_translation(en)
check_translations()
install_translations()

gives the following error while executing install_translations():

0 translated messages.
0 translated messages.
Error in (function (value)  : 
  is_superset : The elements ‘msgid’, ‘msgid_plural’, ‘msgstr’ in compulsory_cols are not in colnames(value).

Needless to say that even if I try to add new messages it wont work. Interestingly enough, check_translations() says that there are no errors to report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions