Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to run install_translations() #26

Open
leobelen opened this issue Jul 26, 2018 · 0 comments
Open

Error trying to run install_translations() #26

leobelen opened this issue Jul 26, 2018 · 0 comments

Comments

@leobelen
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant