Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #260800

    Hi there,
    I need to import the .po file for the site. The file contains all information for enfold plugins, menus etc… but how do make sure it will be applied to all aspects of the theme?

    Also, what is the difference with .mo and .po?
    I’m using a paid version of WPML.
    Are you able to help?

    thank you

    Dominic

    #261070

    Hey syphadius!

    Thank you for using the theme!

    There is no difference between .po and .mo file actually. The .mo file is the compiled version of the .po file. You can use this application if you want to compile the .po files: http://poedit.net/ / http://www.gnu.org/software/gettext/

    Once you get hold of the .po and .mo files, place them on the enfold theme’s lang folder.

    Regards,
    Ismael

    #297836

    One question to these mo / po files.

    I also tried to use “poedit” and as well the wordpress extension.
    When I generated a .mo file, it look quite different to the .mo files from original enfold .. Why is taht like that?

    secondary nothing changed, when I change or kill the .mo files???

    // I want to have the English strings in the contactform translated !!

    #297844

    Hi!

    Do you rescan/update the files first? If there are missing strings, rescanning/updating should add them as well

    Regards,
    Yigit

    #297851

    here is an EXCERPT OF THE GERMAN de.po FILE

    #: config-templatebuilder/avia-shortcodes/contact.php:288
    #@ avia_framework
    msgid “Please prove that you are human by solving the equation”
    msgstr “Bitte lösen Sie die Gleichung. Diese Maßnahme dient der Abwehr von Spam.”

    ///////
    The german files are found, everything semes to work fine, but this string is not translating by itself.
    -> not translating by itself

    //// I tried searchung the string with Codestyling Lokalisator
    -> nothing found

    !!! I don´t want to use special functions to earch this string and replace it when it is allready translated !!!!

    Can you help?

    #298053

    Did you solve the issue? i don’t know if this is the website with the problem, but the contact form at the bottom is currently in German:

    #298148
    This reply has been marked as private.
    #298417

    Hey!

    Please set the account role to Administrator.

    Best regards,
    Josue

    #300360

    sorry – i Changed the role to admin.

    – actually I change the english Words in the label with a jQuerry function!! But I want to make this without that function

    #301174

    Hey!

    Not sure why WPML doesn’t translate this text string especially because our code is correct and refers to the right textdomain. I’m pretty sure this is a bug of the WPML plugin. However I could fix the issue on your server with following code though:

    
    add_filter('avia_contact_form_elements', 'avia_change_caption_captcha', 10, 1);
    function avia_change_caption_captcha($form_fields)
    {
        if(defined('ICL_LANGUAGE_CODE') && ICL_LANGUAGE_CODE == 'de')
        {
            if(!empty($form_fields['avia_age']['label'])) $form_fields['avia_age']['label'] = "Bitte lösen Sie die Gleichung. Diese Maßnahme dient der Abwehr von Spam.";
        }
        return $form_fields;
    }
    
    

    Best regards,
    Peter

    #301200

    ok, thank you very much! – It´s strange and sad, probably a bug, that this string isn´t excluded (transfered) from the .po / .mo file

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Steps to import translation files .po’ is closed to new replies.