This topic has 15 replies, 4 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
Dear team,
I’m using WPML for my website. I scanned my site to identify all possible strings but unfortunately still cant find strings appropriate to the theme: example, I cant find strings ‘Previous page’, ‘View more products’.
Can you help please?
thank you!
Hello,
As I see you don’t have our theme listed in WPML > Theme and Plugins Localization as shown in the screenshot https://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/09/scan-theme-for-texts.jpg of WPML documentation https://wpml.org/documentation/getting-started-guide/theme-localization/
The same issue persists with default WordPress Twenty Fifteen theme.
We recommend you to ask WPML support concerning this issue. Please mention in your query that theme isn’t shown with default WordPress Twenty Fifteen theme.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
I contacted WPML team, they look at the issue.
They found the problem and it is related to theme.
Theme is using PHP constant for Text Domain e.g.
1
_e(‘No posts were found!’, ETHEME_DOMAIN)
Which is not recommended by WPML and WordPress. Theme should use hard-coded text domain like _e(‘No posts were found!’, ‘legenda’) Please check
https://wpml.org/documentation/support/troubleshooting-string-localization/#2
https://markjaquith.wordpress.com/2011/10/06/translating-wordpress-plugins-and-themes-dont-get-clever/
Can you please correct this issue to make it work?
thank you!
Hello,
We’re sorry for a long delay. It was caused by a lot number of work.
Did WPML support team check the issue with Twenty Fifteen theme?
In the previous post my colleague mentioned that the issue persists there too.
“Twenty Fifteen” theme isn’t listed as shown on WPML screenshot:
https://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/09/scan-theme-for-texts.jpg
You can check it yourself. Activate Twenty Fifteen in Appearance > Themes and check “Theme and plugins localization” section in WPML.
Thank you.
Best regards,
Jack Richardson.
Hi Jack,
WPML team checked the Twenty Fifteen theme but they say the problem is how your theme is coded.
Please see their recommendation I already mentioned.
thank you,
Hello,
Please show on a screenshot what elements exactly you can’t translate.
Thank you.
Regards,
Eva Kemp.
Hi Eva,
all this part I cant translate:
There are much more. But this is the most important, and I think if we find how to translate this I have a clue how to translate the rest.
thank you!
Hello,
Please provide us with FTP credentials in Private Content.
Have you made any changes in original theme files?
Regards,
Eva Kemp.
Hello Eva,
I have not made any changes in the original file.
thank you!
Hello,
Sorry, but FTP credentials are incorrect. Please check them.
Best regards,
Jack Richardson.
Hello Eva,
I verified and to be sure changed the password:
thank you!
Hello,
We’ve forwarded this issue to our developers. You’ll be notified as soon as we get a reply from them.
Thank you for your patience.
Regards,
Eva Kemp.
Hello,
We took into account your comment about constant instead of string in our theme. We’ll work on improvement. At present, to translate necessary strings of our theme use .po file and Poedit as mentioned in theme documentation https://www.8theme.com/demo/docs/legenda/index.html#!/how_to_translate
Regards,
Olga Barlow
Hello Olga,
I have used .PO files for these translations.
But there are couple of translations that I cant find neither in wpml strings, neither in .PO files:
http://imgur.com/x7AZdZ2 and http://imgur.com/PluhUE3
thank you in advance!
Hello,
You need translate MailChimp plugin. Please refer to their documentation:
https://mc4wp.com/kb/translating-plugin/
“Proceed to PayPal” text you can edit in the file woocommerce-fr_FR.po in wp-content/languages/plugins directory.
“Shipping and Handling” text in present in default.po file in wp-content/themes/legenda/languages directory. Please check if you imported it to your .po files.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up