This topic has 16 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #132035
     arbolife
    Participant

    Hi,

    I translated the CONTACT US and the “We’re not around right now…” with WPML String Translator, marked them as complete (see screenshot).

    How come the French version of the site still shows the English text on it? What am I missing?

    Thanks,

    Marc

    Attachments:
    You must be logged in to view attached files.
    #132069
     Radu
    Moderator

    Hi,

    I know that on your site exists some incompatibility problems with wpml and revslider do you have translated those strings with RevSlider activated ? if yes try without.

    What are location for the language files ?

    The correct path for kleo theme language files is : wp-content/languages/themes/
    the language files should be named like that kleo_framework-el.mo and kleo_framework-el.po the files was named kleo_framework-fr_FR.mo and kleo_framework-fr_FR.mo

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132136
     arbolife
    Participant

    Hi,

    I tried to deactivate Slider Revolution for some time now, no effect on the site.

    Setting is WPML-> Theme and Plugin localization -> selected “Translate by WPML”
    This way I don’t touch any language files.

    Inside String Translation, there are sections for kleo strings. I translate them, mark as complete and nothing happens on the site.

    Thanks,
    Marc

    #132137
     arbolife
    Participant

    Hi again,

    Correction: WPML string translation actually works. I translated the xprofile fields from BuddyPress for the registration page and it worked right away. What doesn’t work is the kleo content of the message box:

    CONTACT US and the “We’re not around right now…”.

    Cheers,
    Marc

    #132188
     Radu
    Moderator

    Hi,

    That text can be changed from wp-admin -> theme options -> Layout settings -> Contact form title* and Contact form text*

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132194
     arbolife
    Participant

    Hi Radu,

    I know that. The question is why when I translate those strings with WPML “String translator”, does it not appear on the site. The WPML translator works fine for WordPress, BuddyPress, etc. Just not for these 2 strings.

    Cheers,
    Marc

    #132481
     Radu
    Moderator

    Hi again,

    Try to put the desired text there ( wp-admin -> theme options -> Layout settings -> Contact form title* and Contact form text* ) in English and then use wpml string translation to made FR version of that text, try to not leave the inputs with the default text.

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132543
     arbolife
    Participant

    Hi Radu,

    I changed the default value, enabled detecting new strings when logged in as administrator, browsed the site as admin and view the new strings display…
    But they don’t register in String Translation. I can only find the old ones (default).

    It looks to me as only the default value on the admin side register (they are in the domain “admin_texts_kleo_kleo” and it is my understanding the admin_ prefix is for the back-end).

    Let me know what else I can try.

    Thanks,
    Marc

    #132651
     Radu
    Moderator

    Hi,

    Please provide FTP and Wp admin access to can investigate this.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132655
     arbolife
    Participant
    This reply has been set as private.
    #132678
     Radu
    Moderator

    Provide also the wp admin login details.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132806
     arbolife
    Participant
    This reply has been set as private.
    #132854
     Radu
    Moderator

    Done please check, if you have child theme activated you should translate the strings from child or parent

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #132951
     arbolife
    Participant

    Thanks, I now see the child theme in string translation and it works.
    Now I also wanted to change the default translation of the fields in the form “Your Name”, “Your Email”, and “Type your message…”. I found them in WPML’s string translation under the domain kleo_framework, they were already translated with the default translation. I changed it, but it the change doesn’t appear on the site.

    Do I also need a kleo_framework_child for it to work ?

    Thanks,
    Marc

    #133022
     Radu
    Moderator

    Hi,

    No, you should edit the kleo_framework-fr_FR.po file and to search for that default FR translations for that string in the file and replace with your desired text.

    I think the language file path is /wp-content/themes/kleo/languages/fr_FR.po

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #133109
     arbolife
    Participant

    That’s not the right way, but I found the problem.

    I was missing the “Translate the theme and plugins using WPML’s String Translation” option in WPML > Theme and plugins localization

    Now it works. Thanks for your help anyhow.

    Cheers,
    Marc

    #133195
     Radu
    Moderator

    Ok

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 17 posts - 1 through 17 (of 17 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?