Home Forums Basel support forum Theme settings are not translated in different languages

Theme settings are not translated in different languages

Viewing 30 posts - 1 through 30 (of 53 total)
  • Author
    Posts
  • #10017

    Estefania
    Participant

    Hi 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.

    #10020

    Estefania
    Participant

    I 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!

    #10023

    Artem Temos
    Keymaster

    Hello,

    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

    #10025

    Estefania
    Participant

    Thanks 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!

    #10026

    Artem Temos
    Keymaster

    Could 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.

    #10027

    Estefania
    Participant

    Here you are credentials 🙂
    TX!!!!!

    #10028

    Estefania
    Participant

    If 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…..

    #10030

    Artem Temos
    Keymaster

    Try 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

    #10034

    Estefania
    Participant

    Bad news……

    #10036

    Artem Temos
    Keymaster

    Please, provide us your FTP credentials so we can check it.

    #10037

    Estefania
    Participant

    OK, credentials for FTP sent.

    #10038

    Artem Temos
    Keymaster

    Please, check now.

    #10039

    Estefania
    Participant

    Hi!

    #10040

    Artem Temos
    Keymaster

    Could you please send some screenshots?

    #10041

    Estefania
    Participant

    How can I sent you screenshots in private mode?

    #10042

    Artem Temos
    Keymaster

    Attach them publicly. We will remove them after watching.

    #10043

    Estefania
    Participant

    Please, remember to hide images:)

    #10047

    Artem Temos
    Keymaster

    We 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

    #10052

    Estefania
    Participant

    Wonderful!
    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.

    #10057

    Artem Temos
    Keymaster

    We 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

    #10071

    Estefania
    Participant

    Hi 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.

    #10072

    Estefania
    Participant

    I am restoring web site.
    I will tell you news in few moments….

    #10074

    Estefania
    Participant

    Hi!
    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 translation

    Help please!

    #10081

    Artem Temos
    Keymaster

    Hello,

    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

    #10086

    Estefania
    Participant

    I am very grateful for our help today.
    I am answering below:

    #10087

    Estefania
    Participant

    Also I add another url.

    #10088

    Artem Temos
    Keymaster

    But 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?

    #10089

    Estefania
    Participant

    Answer bellow….

    #10090

    Estefania
    Participant

    Sorry, now the pics:

    #10093

    Estefania
    Participant

    The 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.

Viewing 30 posts - 1 through 30 (of 53 total)