You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
Nice work from you!
But I have an issue. I can't figure out how to work with locales. I see broken characters in FE even after locales have been generated. So I have my locale uk_UA.utf-8 but months renders with broken characters!
Can someone help me?
Thanks
The text was updated successfully, but these errors were encountered:
Not sure this project is going to be the best bet for this since we really don't have anything to do with the loading and rendering of i18n strings.
Does this only happen when using this docker service?
A quick check to https://translate.wordpress.org/ is showing that there is not locale named uk_UA that exists in wordpress. Could that be the issue? Maybe try setting your locale to just uk?
Hi,
Thanks for your reply! Yes, I have figured out how to solve that. There were two problems:
First of all there were no locales when you start wordpress docker container. It can be easily fixed with this command (sudo docker exec -it <wordpress_docker_container> /bin/bash -c "apt-get update && apt-get install -y locales locales-all") . It will generate all locales. But it would be great if we have it from the start, after docker container is first run (locales will remain in volumes, but sometimes volumes need to be removed and all locales needs to be regenerated again :( )
Another one, looks like apt-get install -y locales locales-all generate locales correctly, bit for Ukraine it generate locales: uk_UA.utf-8 and in wordpress we have just "uk". So I had to fix that in Polylang plugin (change uk to uk_UA).
Hi guys,
Nice work from you!
But I have an issue. I can't figure out how to work with locales. I see broken characters in FE even after locales have been generated. So I have my locale uk_UA.utf-8 but months renders with broken characters!
Can someone help me?
Thanks
The text was updated successfully, but these errors were encountered: