This topic has 11 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp
Hi there,
I’m in the fine tuning of the translated (2 languages) version of my site, using WPML.
While on theme option, I really don’t have a clue how to translate those fields:
Shop panel
Single product page panel
Can you show me the recipe for doing it please 😉
Regards
More of translation tweaking needed :
As i send an order, i’ve been redirect to order page.
This one is all mixed up in both language.
As for the order history, same needs apply!
Hello,
1. “Sale” and “New” icons are images and to translate them you need edit them with some image editor. They are located in wp-content/themes/legenda/images/label-sale.png and wp-content/themes/legenda/images/label-new.png directory.
2. Do you want to translate “Product Page Banner” text in Theme Options?
3. Text for empty cart and empty category can be translated in Theme Options > Shop. At the bottom you’ll find the needed sections.
4. You can translate Custom Tab Title and “Return” in Theme Options > Single Product Page.
Please provide us with the link to Order page in Private Content to have clear meaning what you need to translate in there.
Thank you.
Regards,
Eva Kemp.
Yes indeed, you are right but my needs are different.
I have a miltilingual site. So the theme options text field or area could’nt be translate this way. Even though I change the settings in English or French language, it’s been pass to the theme option whatever language.
As for the link for the page, just go and by a product ( pay with cheque ) then turn the page in french and you’ll see the english words.
We’re unable to access the site, please provide with the permissions.
To translate “Product Page Banner” edit the file wp-content/themes/legenda/framework/theme-options.php (line 829). “Text for empty cart”, “Text for empty category”, “Return” and “Custom Tab Title” you’ll also find in this file.
We recommend you to make any changes in a child theme not to lose modifications after the theme upgrade.
Regards,
Eva Kemp.
Unfortunatly for me and you,
the site has been changing i.p. and I did not know about it.
I’ll get back to you as soon as its online.
Thank you.
By the way, i want the content of the field to be translatables, not the label!
Regards
LP (*
Could you please show a screenshot of what exactly you want to translate to avoid misunderstanding?
Thank you.
Regards,
Eva Kemp.
It’s not just about translation, but keep multiple languages of those fields. When I’ll get it for thoseo one, i’ll can make the other one. Thank you again for your great support.
Here you go :
LP (*
Hello, @ataxel,
If you want to translate some Theme Options go to WPML > String translation > scroll down and press on “Translate texts in admin screens” link.
You’ll see list of fields, choose the fields you’d like to translate “empty_cart_content” & “empty_category_content” and press “Export selected strings as PHP code to be added to the theme code” button. Include the following PHP in theme-functions.php. After that go back to String Translation section and translate necessary content http://wpml.org/documentation/getting-started-guide/string-translation/
Regards,
Olga Barlow
Wow! That is exactly what i needed.
Sorry if I did not find it on my own…
Fantastic, i’m happy.
Thank you again!
Hello,
You’re welcome.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up