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

assembly.rst / .po: invert translation direction #407

Open
ThomasWaldmann opened this issue Mar 27, 2021 · 0 comments
Open

assembly.rst / .po: invert translation direction #407

ThomasWaldmann opened this issue Mar 27, 2021 · 0 comments

Comments

@ThomasWaldmann
Copy link
Contributor

ThomasWaldmann commented Mar 27, 2021

currently, assembly is the only resource translated from German to English - this should be inverted so it is English to German (as we already have for all other resources).

TODO:

  • invert the assembly.po file, so msgid is EN, msgstr is DE (also move it to correct locales/ subdirectory)
  • invert the assembly.rst, so it has EN text

HINTS:

  • maybe the python polib package can be used (supports iteration over po file contents, access to msgid/msgstr, creating new po files)
  • i tried to auto-translate the assembly.rst using the mapping from the po file, but that only partly worked: some strings were not replaced correctly - is there an issue with \n vs. blank or with hyphens?
  • the source_lang setting of the assembly resource in the .tx/config seems to not work correctly. the transifex docs sound like this setting is per project, not per resource.

Links:

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

No branches or pull requests

1 participant