Croatian translation is not supported?
4 years, 6 months ago #8919
Amongst the list of supported languages, Croatian is not listed. Is there any reason why creating wpsolr-hr_HR.mo would not work (I tried, but it does not work at this point)?
Is there something I can do/contribute to make this possible, at least unofficially?
Thanks in advance,4 years, 6 months ago #8920
Did you follow ? :
“You can find a wpsolr.pot file in WPSOLR’s /languages folder.
Use it to create your .po and .mo files (wpsolr-fr_FR.mo and wpsolr-fr_FR.po).
Copy your .mo files in the WordPress languages plugin directory (WP_LANG_DIR/plugins).
Example: /htdocs/wp-includes/languages/plugins/wpsolr-fr_FR.mo or /htdocs/wp-content/languages/plugins/wpsolr-fr_FR.mo”4 years, 6 months ago #8921
I did follow instructions.
You have a file manager there so you can see where the files are placed. I changed just a few strings to test it out, like “Filters” to “Filteri”, “By %s” to “Po %s”.
I placed in languages/plugins wpsolr-hr_HR.mo and also a copy named wpsolr-hr.mo, following the example of woocommerce-hr.mo, which works.
I am looking at facet labels. You can just search for letter “a” to get many results, as there are only 26 test products in the DB right now.
It all reverts to English in my case.4 years, 6 months ago #8923
Yes, the labels are not the problem, but keywords like “Filters”, “By %s”, that I assume is handled by .po (the strings are there).
This is what I see:
4 years, 6 months ago #8930
We seem to be looking at completely different sites. On my site, I dont even have a product type “goods”, and have various different plugins on the left.4 years, 6 months ago #8932
So I’ve tried every single way of figuring this out myself, but I am giving up.
I really don’t know how it is possible we are looking at the same path on the server and I can see the files and you do not, but it does not matter – I now installed Loco Translate and everything should be clear. A proper MO file is generated, but still nothing gets translated. You can see the full info from Loco Translate.
Unfortunately, I cannot use 2.6 option to change the strings as this will be a multilingual site, so I have to make the mo/po mechanism work.
The login credentials I have given you are still valid. Please see what you can do.4 years, 6 months ago #8934
You must be logged in to reply to this topic.