-
Notifications
You must be signed in to change notification settings - Fork 427
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
Mo files are not well generated #752
Comments
Indeed, I have the same problem for the Spanish language (es_ES). I also did the check with Poedit and after the compilation the translations start to work. Please solve this in the future version. |
@Tofandel @franzarmas We normally update the .po(t) files before each new release and regenerate the translation .mo files after translators have submitted any updates they want to provide. I'd be very happy if you'd be willing to test those files before we release the next version to prevent this issue. |
@jrfnl What tool do you use to regenerate them ? |
@Tofandel If I remember correctly I used PoEdit originally, but the last batch may have been generated using https://github.com/phpmo/php.mo |
We are having the same problem (i.e. weird plurals and singular sentences cobbled up together, and some translations falling back to the default). Regenerating the .mo files from the .po files fixed the issue. |
The library that you're mentioning seems to be no longer maintained. Do you need help with getting a reliable CI-enabled generation of the .mo files ? |
@cdmmultimedia Help setting that up or even just documenting how we can do this easily in bulk would be awesome! |
@jrfnl We'd be happy to look into it :) |
@cdmmultimedia Much appreciated! When you do, please keep in mind that maintainers may be on varying OS-es, i.e. both Linux/Mac as well as Windows will need to be supported. |
Hi,
I noticed today that the mo files are not well compiled (at least for the french language)
The singular and plurals are concatenated together so I checked the po file and everything is in order, I recompiled it with poedit and then the translations started displaying correctly
I can provide the newly compiled mo file for Fr and other languages that might have the same issue as well if needed.
To reproduce => install a plugin with the latest version of tgmpa, requiring another plugin, with wordpress in french,
And notice that the string for "Begin to install the plugin" is : "Commencer à installer l'extensionCommencer à installer les extensions" instead of just "Commencer à installer l'extension"
The text was updated successfully, but these errors were encountered: