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

Source string with an empty "" at the start can't be translated #363

Open
adem4ik opened this issue Jan 23, 2017 · 1 comment
Open

Source string with an empty "" at the start can't be translated #363

adem4ik opened this issue Jan 23, 2017 · 1 comment

Comments

@adem4ik
Copy link
Contributor

adem4ik commented Jan 23, 2017

  1. Open any po file with translation
  2. Add "" at the start of msgid
  3. Save po file and find the string ingame

Result: string won't be translated
Expected result: string is translated

Examples:

msgid ""
"Ready!"
msgstr "Готов!"

msgid """Ready!"
msgstr "Готов!"

@adem4ik
Copy link
Contributor Author

adem4ik commented Sep 9, 2019

Such kind of .po may appear after using po-normalize. At least Transifex do so with translation files. https://www.gnu.org/software/gettext/manual/html_node/Normalizing.html

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