Tagged: WPML
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!
Site URL: hidden Theme version: 2.8 WooCommerce version: latestHello,
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,
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 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 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 http://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
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
817e8a3b-18c8-492c-8ba6-9188c27b0995 | 05 Jan 2017 |