This topic has 30 replies, 3 voices, and was last updated 8 years, 5 months ago ago by Eva Kemp
Hello,
So I have had a lot of problems with translations.
I updated WPML to the latest. And all Royal and some Woocommerce strings became “obsolete”. (when viewing them in string translator)
All my translations disappeared and WPML said they could do nothing. So They told me to retranslate everything.
Now I am in the process of doing so. However, I have noticed that when I search for strings, the royal theme does not show up, only the woocommerce strings.
I am now changing the woocommerce strings, and they do appear as expected on the website.
I am just afraid that there will be an update from you guys, so that I would have to translate all again.
You see, before the update, there was always strings with the domain royal. Now they are only Woocommerce. So I am afraid that after an update, the royal domain will show up again, and I would have to do the translations again.
Would you care to explain what is happening and how I should proceed.
Of course I have searched the theme for strings several times since the update, but the royal domain has not shown up.
Thanks for the help!
Just want to make sure I checked the notify me checkbox.
Hello,
Please provide us with FTP and wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
Ok, thanks, here they come!
Here you go!
MORE INFO FTP LOGIN
Awaiting reply. I have sent all info.
Hello,
Sorry for a delay.
We’re investigating this issue. Once there is any news we’ll let you know.
Thank you for understanding.
Regards,
Eva Kemp.
Ok, Thank you. At the moment i have stopped translating so it would be nice to know soon how I should proceed. My customers dont understand the website at the moment, since it is not translated.
I am looking forward to an answer soon..
Hello,
It has been 8 days since I posted. I would like to know the status of this issue.
Thank you.
Emelie
Hello,
Please take our apologies for such long delay.
Our developers are still investigating the issue.
Once they notify us we’ll inform you.
Thank you for your patience.
Regards,
Eva Kemp.
Hello,
We checked all changes which were made in the theme and they shouldn’t have affected translations. Unfortunately we can’t find the reason of your issue. On our test sites everything works properly and such problems don’t appear.
To avoid such situations we recommend you to create back up of site files and database before updating anything so you’ll be able to revert back if something goes wrong.
Please take our apologies.
Regards,
Eva Kemp.
Hello Eva,
I find it very strange the whole thing.
So now I see that when I make a search among blog posts. On the top it says:
Search results for: …
I wanted to translate that, and the only string I found was in the twentyfourteen theme.
I translated that, and now it shows the translation.
Somehow WP is choosing the strings for twentyfourteen as the woocommerce strings..
Why does this happen? it should not be like this right?
Why I am asking is because I thought WPML plugins were compatible..
Thank you
Hello,
I’ve just checked the text “Search results for” on your site and it’s not translated:
http://storage5.static.itmages.com/i/15/1030/h_1446194131_5479936_1c17a9548b.png
Also as I see this string isn’t translated in WPML > String Translation.
Please check it.
Regards,
Eva Kemp.
Ok well it is translated now.
However, if you go into WPML >> Theme and plugins localization >> Strings in the Theme..
Normally, the Royal theme would show up there.. Now it is not showing up there anymore.
Do you know why?
Thanks
Hello,
More likely the problem with strings is related to WPML update and changes that occurred with this update. As we can see from your conversation with WPML support https://wpml.org/forums/topic/string-translations-gone-after-update-have-tried-everything/ they’ve known about this problem from other clients who updated the plugin from 3.1.9.7 to 3.2.x version. It’s not related to our theme.
Although the strings are set as obsolete in admin panel their translation is still working as we can see on frontend.
Regards,
Eva kemp.
Well, even if you can see it correctly in the front end, those are not Royal theme strings. We can’t see the theme in WPML anymore, so something is very wrong. It doesn’t find any strings from the theme anymore. So the strings we have translated are from theme twentytwelve and WordPress.. Royal theme does not even appear anymore..
Hello,
We are waiting for reply from WPML team about this problem with new version of WPML plugin and our theme. We’ll keep you in touch!
Regards
Oh that sounds great! It is Yvette who is working on the issue at the moment:
https://wpml.org/forums/topic/string-translations-gone-after-update-have-tried-everything/
They seem to be on to something, but it would be great if you gave them a push!
Thanks you!
Hello,
After our conversation with WPML support we discovered that according to WPML modifications you need to do the following:
1) You need add “Text Domain: royal” in the header of style.css file in the theme directory, for example
/*
Theme Name: Royal- 8theme WordPress theme
Theme URI: https://www.8theme.com/
Author: 8theme
Author URI: http://themeforest.net/user/8theme
Description: ThemeForest Premium Theme
Version: 2.3
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: royal
*/
2) Before scanning strings in WPML > Theme and Plugins Localization you need tick
“Automatically use theme or plugin text domains, when gettext calls does not use a string literal.”
We can’t guarantee that such problem won’t happen again because changes depends on WPML plugin more than on us.
Also we recommend to make back up before each update of a plugin or theme.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up