To add, I am using the Divi theme and the map is displayed via a shortcode in a text module.
I can’t even forward the /fr/ URL to a page that has just the French map. Any assistance would be greatly appreciated!
Plugin Support
Dragos
(@dragosvrejiu)
Hello,
Could you please send me the link to your site ?
It would help me understand the issue better.
With the best wishes,
Plugin Support
Dragos
(@dragosvrejiu)
Hello,
Could you please check if you have the “Disable dynamic translation” in TranslatePress->Settings->Advanced ?
Also, have you tried searching for the specific strings in the string selector dropdown?
With the best wishes,
The checkbox for “Disable dynamic translation” is not selected. I hadn’t checked before but I went through the string selector and it looks like things pop-up when I click on markers so I can enter the translation.
Thank you for your help!
Sorry, one thing I don’t see when translating is the merge button to translate the whole block. Do you know why that would be?
Plugin Support
Dragos
(@dragosvrejiu)
Hi,
The merge button is only available for strings that are compatible with translation blocks.Strings that are inserted dynamically via JS won’t be eligible.
If you are able to add classes to those paragrahps, you could use our translation-block class to merge the strings into one.
For example:
<div class=”translation-block”>
Translate everything <div>inside</div>
</div>
The downside of this approach is the fact that changing anything in the default language will invalidate your whole translated block.
Although, we offer those same strings as a possible translation if the originals are similar enough.
Currently there is no way for us to be 100% sure you’re editing the same string, so we don’t serve the similar string translation automatically.
With the best wishes,
Hmm, I tried to add the class but I still don’t get the option to translate the entire block.
Also, for some reason, my WordPress admin bar doesn’t want to change back to English. It stays in French no matter what language I have selected > https://drive.google.com/file/d/1iU-RG7ZVp69cvSf-xCrJYCsniGo0G4AS/view?usp=sharing
Plugin Support
Dragos
(@dragosvrejiu)
Hello,
> I tried to add the class but I still don’t get the option to translate the entire block.
This probably means that the strings are dynamically inserted via JS, so translation blocks won’t work on them.
>Also, for some reason, my WordPress admin bar doesn’t want to change back to English. It stays in French no matter what language I have selected
The admin bar should change along with the language.
Do you still come across this problem?
If you have any caching plugins activated, please temporarily disable them and try again.
Let me know how this goes.
With the best regards,
Thank you! I tried disabling the cache plugin but the admin bar still doesn’t change back to English. It’s in English on the backend, but on the frontend, some buttons are in French and some are in English.
Plugin Support
Dragos
(@dragosvrejiu)
First off, make a database backup.
Next, you can try to delete the wp_trp_gettext_* tables in your database. That’s where we store the gettext strings WordPress is using to localize the software. We cache everything that’s available in the .po and .mo file for WordPress there.
After that go to WordPress -> Settings -> TranslatePress and re-save the settings.(This will generate the tables again)
Best regards,
Would that delete anything that’s already been translated on the site?
Plugin Support
Dragos
(@dragosvrejiu)
In the wp_trp_gettext_* tables we store the gettext strings WordPress is using to localize the software.
Your translations are saved in wp_trp_dictionary_*.
So, generating the tables again should also restore the translations for the gettext strings and might repair the translation of the admin bar.
A database backup is recommended.(just in case)
Best regards,