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

Translate wont works when file havent comment lines#:? #351

Closed
gilbertogwa opened this issue Aug 29, 2017 · 5 comments
Closed

Translate wont works when file havent comment lines#:? #351

gilbertogwa opened this issue Aug 29, 2017 · 5 comments
Labels

Comments

@gilbertogwa
Copy link

Why the translate works only when POs files have comments lines (with #: characters )? Can you update documments with this information? Apps that generates POs files don't include comments by default...

Won't works:

msgid "I am a text"
msgstr ""

Works:

#:
msgid "I am a text"
msgstr ""

@calway
Copy link

calway commented Oct 16, 2017

Seems I ran into this when testing a console app as well. After adding these and changing nothing else in the sample from @ajbeaven it suddenly worked

@turquoiseowl
Copy link
Owner

Closing. Please re-open is appropriate. Thanks.

@adrinr
Copy link

adrinr commented Apr 17, 2019

I ran into this problem, po files don't work if the optional comments don't exist. Would be possible to re-open the issue and to have a look?

@turquoiseowl
Copy link
Owner

Happy to re-open. As to investigating, I can't commit to anything just now.

Please feel free to submit a PR with fix. Thanks.

@turquoiseowl turquoiseowl reopened this Apr 18, 2019
turquoiseowl added a commit that referenced this issue Sep 4, 2020
@vhatuncev
Copy link
Contributor

@turquoiseowl this can be closed.

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

No branches or pull requests

4 participants