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

i18n. String extraction. Missing strings? #524

Closed
ignaciogros opened this issue Aug 24, 2020 · 2 comments
Closed

i18n. String extraction. Missing strings? #524

ignaciogros opened this issue Aug 24, 2020 · 2 comments

Comments

@ignaciogros
Copy link
Collaborator

We might have a problem with the string extraction script. That will explain some missing translations.

@jrfern (Python 2.7 in Linux Mint Mate 19) updated (git pull) the 2.5.1 branch, then he executed tools/mki18n-extract.sh, and he got a 100% translated PO file.

I did the same (Python 2.7 in Windows 7), but I got a PO file with 9 untranslated strings ("Insert HTML code as text", for example, which is not in his PO file).

Both files should return the same results (some untranslated strings). Could you check that, please?

mki18n-extract tests

@ManuelMayoSdweb
Copy link
Collaborator

I tested on Ubuntu 16.04 and my case is the same as yours: 9 untranslated strings among which is the text string "Insert HTML code as text".

I keep checking to see what may be failing in @jrfern's case.

ignaciogros added a commit that referenced this issue Sep 16, 2020
…until all pybabel versions extract the same strings.
jrfern added a commit that referenced this issue Sep 17, 2020
jrfern added a commit that referenced this issue Sep 17, 2020
jrfern added a commit that referenced this issue Sep 17, 2020
jrfern added a commit that referenced this issue Sep 17, 2020
@ignaciogros
Copy link
Collaborator Author

It seems to be a Babel problem. You get all the strings with Babel 2.3.4-Windows, but not with Babel 2.4.0-Ubuntu. We still don't know how to reproduce it with a simple case. If we find how to, we'll open an issue in the Babel project.

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

2 participants