Okay
  Public Ticket #2459472
Translation issues
Closed

Comments

  •  4
    plus4 started the conversation

    I have a lot of problems with translations:

    1. The display of the "press" category page (https://www.new.concepto.fr/en/topic/press/) of the blog is not good in English version: the menu is below the text (so the block comes at the very top) and the logo is not the right color. In French no problem. I just added the category to the English menu.
    2. In portfolio options, I created a text (title) in French. How to translate it in English version?

    Thanks

    Plus4

  • [deleted] replied

    Hi Plus4,

    1. I have managed to fix this issue. This didn't happened to Kalium before but I have added an extra check in code to verify theme options that are inherited, because in your case Polylang points different objects and we haven't predicted this from happening.

    So now these pages inherit the same options:

    https://www.new.concepto.fr/en/topic/press/

    https://www.new.concepto.fr/sujets/presse/

    2. For this please read the Polylang docs because theme options are translatable and Polylang should properly parse and read wpml-confix.xml in our theme.

  •  4
    plus4 replied

    Hi Arlind,

    Thanks a lot for the 1st point.

    About the 2nd question (theme option translation), I think I was not clear, sorry. I put a text in portfolio options (see attached). Does Polylang know how to translate the content of this field ?

  • [deleted] replied

    Hi plus4,

    Regarding theme options, these are translatable with string translation in WPML, so the same should be with Polylang String Translation. Have you tried it?

  •  4
    plus4 replied

    Hi Arlind,

    Yes (see image attached) but does'nt work.

  • [deleted] replied

    I have just tried it:

    https://d.pr/v/aQtJoh

    As you can see it works on my side! 

    Very strange, why in your site it works differently!

  •  4
    plus4 replied

    A few details that may help you:

    - 1st step : theme options, I fill in the title and description part of the portfolio settings / other settings

    - 2nd step, I go to Strings translation / Kalium: already what I put on the options does not appear, I have "portfolio" in the title and "portfolio description" in the description. I change title and description here, in both languages (my picture below).
    - On the display, there is ONLY what I put in the "theme option" that appears, so in French. If I delete the content in the theme options and leave the strings in the translation, nothing is displayed on the page. If I modify the description string in the string field, no change to the display.

  • [deleted] replied

    Hi plus4,

    I have just tried it:

    https://d.pr/v/aQtJoh

    As you can see it works on my side! 

    Very strange, why in your site it works differently!

  •  4
    plus4 replied

    Hi Arlind,

    I tried to deactivate all plugins.  None of the plugins cause this, it's only by deactivating / reactivating Portfolio type.

    Any way with the .pot file (poedit)? I guess not...

  • [deleted] replied

    Hi plus4,

    I had to rename theme mods reference key because you are using your own personalized child theme with name "concepto":

    medium
    (view large image)

    And I have then translated the texts once again by filtering entries only for "concepto" theme:

    medium
    (view large image)

    And the result is:

    medium
    (view large image)

    For more please watch this video to see the entire process:

    https://d.pr/v/6IKuoq

  •  4
    plus4 replied

    You are the BEST!

    Thank you thank you thank you. For your patience and your determination.

    Have a good day :-)

  • [deleted] replied

    I'm happy to hear those kind wordssmile.png

    Have a great day!

    Will mark this ticket as solved from here.