Home › Forums › Basel support forum › Theme settings are not translated in different languages
Theme settings are not translated in different languages
- This topic has 52 replies, 2 voices, and was last updated 7 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
February 17, 2017 at 9:13 pm #10017
EstefaniaParticipantHi guys!!!!
I have a new question/problem.
Theme settings are not translated in different languages, meaning:
Additional tab title, with custom title: Manufacturing, can not be translated into spanish theme options, naming Fabricando.
If I change custom title in spanish theme options, it is automatically changed in english theme options.Other case with the same problem is:
Translation of HTML blocks is not working on product single page, meaning if an english product I set htmlblock=223 and its translation in htmlblock=487, in spanish product single page is not shown the spanish version.I do not know how to proceed! 🙁
Thanks for helping me!Estefanía.
February 17, 2017 at 9:53 pm #10020
EstefaniaParticipantI did mean:
English product: I set on Product settings (custom metabox from theme) the PIC1.
I get right front end: PIC2
Spanish translated product: I get front end PIC 3.It is like there is no option for translate those Product settings (custom metabox from theme).
Please, do you mind to help me with this bug?
Website is opening in 2 days!
I am afraid of all this troubles!!!Thanks a lot in advance!
February 17, 2017 at 9:54 pm #10023
Artem TemosKeymasterHello,
Please, check
wpml-config.xml
file located in the theme root folder. It should contain the following code<wpml-config> <custom-types> <custom-type translate="1">cms_block</custom-type> <custom-type translate="1">portfolio</custom-type> <custom-type translate="0">basel_sidebar</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">categories</taxonomy> <taxonomy translate="1">project-cat</taxonomy> <taxonomy translate="1">tag</taxonomy> </taxonomies> <admin-texts> <key name="basel_options"> <key name="logo" /> <key name="logo_width" /> <key name="header_text" /> <key name="header_area" /> <key name="popup_text" /> <key name="reg_text" /> <key name="cookies_text" /> <key name="empty_cart_text" /> <key name="copyrights" /> <key name="copyrights2" /> <key name="prefooter_area" /> </key> </admin-texts> </wpml-config>
If it is not, just add the code there and then check your String Translations in WPML. You should be able to see tabs options there.
Regards
February 17, 2017 at 10:09 pm #10025
EstefaniaParticipantThanks for code! I have pasted your code instead the previous one, but I still can not translate html_blocks.
I would like to send you one more pic in private mode. How can I do that?
I have pasted the phrases below, but it is complicated to understand them….Thanks!
February 17, 2017 at 10:23 pm #10026
Artem TemosKeymasterCould you please send us your admin access and explain step by step what you do to translate your HTML blocks in product descriptions? And on which step it doesn’t work correctly as it should.
February 17, 2017 at 10:46 pm #10027
EstefaniaParticipantHere you are credentials 🙂
TX!!!!!February 17, 2017 at 11:01 pm #10028
EstefaniaParticipantIf I want to translate “Additional tab title” I have to add to wpml-config.xml something like:
<key name=”additional_tab_title” />?
And for “Additional tab content”———-> <key name=”additional_tab_content” />?THANKS!
I am sorry for all these queries that can look very obvious for you…..February 18, 2017 at 7:40 am #10030
Artem TemosKeymasterTry to replace
wpml-config.xml
file with this one instead. Or provide us your FTP credentials so we could do this ourselves<wpml-config> <custom-types> <custom-type translate="1">cms_block</custom-type> <custom-type translate="1">portfolio</custom-type> <custom-type translate="0">basel_sidebar</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">categories</taxonomy> <taxonomy translate="1">project-cat</taxonomy> <taxonomy translate="1">tag</taxonomy> </taxonomies> <admin-texts> <key name="basel_options"> <key name="logo" /> <key name="logo_width" /> <key name="header_text" /> <key name="header_area" /> <key name="popup_text" /> <key name="reg_text" /> <key name="cookies_text" /> <key name="empty_cart_text" /> <key name="copyrights" /> <key name="copyrights2" /> <key name="prefooter_area" /> </key> </admin-texts> <custom-fields> <custom-field action="translate" label="Extra content">_basel_extra_content</custom-field> </custom-fields> </wpml-config>
Regards
February 18, 2017 at 11:14 am #10034
EstefaniaParticipantBad news……
February 18, 2017 at 11:21 am #10036
Artem TemosKeymasterPlease, provide us your FTP credentials so we can check it.
February 18, 2017 at 11:26 am #10037
EstefaniaParticipantOK, credentials for FTP sent.
February 18, 2017 at 11:45 am #10038
Artem TemosKeymasterPlease, check now.
February 18, 2017 at 11:58 am #10039
EstefaniaParticipantHi!
February 18, 2017 at 12:17 pm #10040
Artem TemosKeymasterCould you please send some screenshots?
February 18, 2017 at 12:19 pm #10041
EstefaniaParticipantHow can I sent you screenshots in private mode?
February 18, 2017 at 12:21 pm #10042
Artem TemosKeymasterAttach them publicly. We will remove them after watching.
February 18, 2017 at 12:36 pm #10043
EstefaniaParticipantPlease, remember to hide images:)
February 18, 2017 at 12:52 pm #10047
Artem TemosKeymasterWe are able to translate custom tab without any troubles via String Translations. You can see it now.
As for HTML Blocks for product extra content so you need to specify different blocks ids for different languages while editing this product’s translation https://gyazo.com/139ac15696bf86f8e1534f0b0378fd96
February 18, 2017 at 1:26 pm #10052
EstefaniaParticipantWonderful!
Now I can translate both additional_tab title as html_block inside this section!
Great Job!!!!And also, I can translate html_block inside single product page extra content!
You have done a WONDERFUL JOB!!!!!!
I am very grateful for all time and effort you have spent.
Just one more question, why is it every field twice? (pic.05)THANK YOU VERY MUCH!!!!!
Now, Please, I would like to know what files or componentes or something you have modified, in order I can reproduce all the things fixed, in case of updating theme or restoring any other component.
So, again!
Thanks so much for your great job!
A big hug!
Estefanía.February 18, 2017 at 2:03 pm #10057
Artem TemosKeymasterWe are glad that you like it 🙂 We don’t know why all fields are shown twice but it is probably a WPML issue.
All changes were made in
wpml-config.xml
file.Regards
February 19, 2017 at 12:26 pm #10071
EstefaniaParticipantHi Xtemos……..I have bad news…..
I do not why, but translation is broken……
HTML block in spanish is placed between information product and additional tabs from Woocommerce, and also, in a page format wrong, I mean, laying full with page.I had tried to uninstall plugins wc_multilingual and WPML, but without success…..
Please!!!!
Can you take a look today?Thanks a lot in advance!
Estefanía.
February 19, 2017 at 12:53 pm #10072
EstefaniaParticipantI am restoring web site.
I will tell you news in few moments….February 19, 2017 at 4:02 pm #10074
EstefaniaParticipantHi!
Well. I come with very bad news.
I have completely restored my website, files and database.
I have tried to add a translation for one product. Then I fill field for basel_extra_content:
1- I have to do twice, three, four times… because at the first time it is not saved.
2- When finally the fields are saved, the error occurs: in single product page html_block is inserted between information product and additional tabs from Woocommerce, and also, in a page format wrong, I mean, laying full with page.Even now, I am trying to do new tests, and I can not save translation…
Aldo, I have restore wpml-config.xml file to the original from basel, and there is no changes!!! Your custom fields are there! (pic–3)
Please, I am very and completely desperate! 🙁
PIC–1: no html_block selected in translation
PIC–2: html_block selected in translationHelp please!
February 19, 2017 at 7:33 pm #10081
Artem TemosKeymasterHello,
The
wpml-config.xml
file should contain the following code. Please, restore it and do everything step by step from scratch. We don’t see any issues with our theme in this situation.<wpml-config> <custom-types> <custom-type translate="1">cms_block</custom-type> <custom-type translate="1">portfolio</custom-type> <custom-type translate="0">basel_sidebar</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">categories</taxonomy> <taxonomy translate="1">project-cat</taxonomy> <taxonomy translate="1">tag</taxonomy> </taxonomies> <admin-texts> <key name="basel_options"> <key name="logo" /> <key name="logo_width" /> <key name="header_text" /> <key name="header_area" /> <key name="popup_text" /> <key name="reg_text" /> <key name="cookies_text" /> <key name="empty_cart_text" /> <key name="copyrights" /> <key name="copyrights2" /> <key name="prefooter_area" /> <key name="additional_tab_title" /> <key name="additional_tab_text" /> </key> </admin-texts> <custom-fields> <custom-field action="translate" label="Extra content">_basel_extra_content</custom-field> </custom-fields> </wpml-config>
Kind Regards
February 19, 2017 at 7:45 pm #10086
EstefaniaParticipantI am very grateful for our help today.
I am answering below:February 19, 2017 at 7:49 pm #10087
EstefaniaParticipantAlso I add another url.
February 19, 2017 at 7:53 pm #10088
Artem TemosKeymasterBut what do you mean by “chaos” there? We see that HTML block is shown there without problems. And where is the languages so we can check English version too?
February 19, 2017 at 8:02 pm #10089
EstefaniaParticipantAnswer bellow….
February 19, 2017 at 8:33 pm #10090
EstefaniaParticipantSorry, now the pics:
February 19, 2017 at 9:03 pm #10093
EstefaniaParticipantThe real strange thing is that when I set the file wpml-config.xml to the original content form basel theme, the fields at picture still were shown at translation product page.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register