I have translated the pressbooks plugin, the themes pressbooks-books (McLuhan) and Aldine via transifex. I downloaded the .po and .mo files for Croatian (hr_HR) and put them in the required folders on my local instance but they are not recognized.
Am I missing something?
Tried to switch to German and it worked. I got the main site and an example book in german. Tried to switch to Croatian and I get English again.
The important info here is the WP Locale string. WordPress only supports the languages listed on this page, which means if I install, say, translation files with the locale de (German, no country specified) WordPress cannot load that set of translations, because it’s looking for de_DE. For this reason, it’s critical that we map languages from Transifex onto languages that WordPress can use, otherwise no one can ever see the translations. Here’s a few:
Thanks for the additional Info. Looks like WordPress is heaving it wrong
Everywhere else hr_HR is used. I will test it locally and if it works i’ll fix the PR.