Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #594794

    Sorry guys but i did not find the search option of the forum, so i will have to ask this.

    What is the process to translate ” minutes” seconds” days and hours?

    Thank you

    #595269

    I would also like to know if you have any tutorial on translating woocommerce. In other sites i simply changed the language of the site and it was automatically translated but in enfold it is not happening.

    #595307

    Hey!

    Please use this plugin https://wordpress.org/plugins/localizer/

    more detailed info here http://kriesi.at/archives/how-to-create-a-multilingual-site-with-enfold

    Please feel free to get in touch with us if you have any questions.

    Thank you for using Enfold :)

    Cheers!
    Vinay Kashyap

    #595841

    Hi, thanks but i do not need a multilanguage site. I never said such a thing. I need only to translate the the animated countdown from english to portuguese. It does not matter where my visitor are i want my website to be in portuguese. I already managed to translate the woocommerce, so i onlye need to translate the fields hour minute and seccound to other words in portuguese.

    Should I use Wmpl even so?

    #595861

    aFTER I INSTALLED WMPL ALL my produtcs stoped to show in the right URL. I made a video for the problem to be more easy to understand and I would like to send it to you. http://www.4shared.com/video/uVr_NDw-ce/tela_kriesi__1_.html

    I am also not being able to translate the following fields on ”deafult order” ”name” ”price” ”date” ”popularity” ”’display x products per page”

    #597936

    5 days no answer!!

    #598015

    Please guys, let ‘ s try something here.

    #598041

    Hi!

    Sorry for the late reply!

    You can go to wp-content/themes/enfold/lang folder and edit language files using this free software – http://poedit.net/.

    Regarding WPML issue, do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Regards,
    Yigit

    #604216

    I went to wp-content/themes/enfold/lang and there is a file there in my language pt.br is there a place where i should transfer this file to?

    #604904

    Hi!

    If you’re using a child theme, create a folder called “lang” then place the language file inside. You can then add this code in the functions.php file:

    add_action('after_setup_theme', 'avia_child_lang_setup');
    function avia_child_lang_setup() {
    	remove_action('after_setup_theme', 'avia_lang_setup');
    	$lang = get_stylesheet_directory() . '/lang';
    	load_theme_textdomain('avia_framework', $lang);
    }

    I’m sorry for the confusion. If you didn’t want a multi-language site, you should have not installed the WPML plugin. What you need is to install WordPress in portuguese version. This will automatically translate theme or plugin related strings to that language. https://codex.wordpress.org/Installing_WordPress_in_Your_Language

    Regards,
    Ismael

    #605494

    Ismael,

    I am doing It as Ygit said using wmpl. i am not using a child theme and my theme is in portuguese. I need you to be specific about where the po mo files are located so I can change the en files for pt.br.

    I also need to know if this files that i referred to in my last answer are the translation files inmy languege.

    so 1- where are the languege files located.
    2 – If there is already a po/mo file in portugue in the place i related.

    #605736

    Hi!

    1.) The language files are located in the theme’s lang folder.
    2.) Yes, the portuguese (pt_BR.mo & pt_BR.po) language files are available in the lang folder.

    Open the pt_BR.po file in poedit software then translate these lines:

    #: ../config-templatebuilder/avia-shortcodes/countdown.php:25
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:187
    msgid "Second"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:26
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:78
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:188
    msgid "Minute"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:27
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:69
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:189
    msgid "Hour"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:28
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:190
    msgid "Day"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:29
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:191
    msgid "Week"
    msgstr ""
    
    #: ../config-templatebuilder/avia-shortcodes/countdown.php:61
    #: ../config-templatebuilder/avia-shortcodes/masonry_entries.php:116
    #: ../config-templatebuilder/avia-shortcodes/portfolio.php:162
    #: ../config-woocommerce/config.php:1002
    msgid "Date"
    msgstr ""

    Put the translation inside the “msgstr” entry.

    For more info, please refer to this link: https://doc.osclass.org/Translating_and_editing_language_files_(.po_and_.mo)

    Cheers!
    Ismael

    #606880

    Hi, @marcelhochman

    If you don’t follow Ismael’s instructions above, you will loose any changes made to your language files when Enfold is updated (they will be overwritten).

    Using a child theme is easy and safe. Besides, Enfold has a nice “Import Parent Theme Settings” option so you can import current Enfold settings. And if you don’t need multilanguage, remove WPML.

    So, I would suggest you to install and activate the child theme, import parent settings, download pt_BR.po file, edit it with Poedit, generate the pt_BR.mo with it and upload both (pt_BR.po and pt_BR.mo) to the child theme lang folder. Then you will need to add above Ismael’s code.

    Good luck!

    #606931

    Hey!


    @mmagnani
    thank you for sharing your tip :)

    if you are not working with a child theme already please check this link http://kriesi.at/documentation/enfold/using-a-child-theme/

    Let us know if you tried the solution provided earlier and it worked for you.

    Best regards,
    Vinay

    #608412

    Thank you all for the conversation. It works, and now my file pt.br is better than yours. Where should I share it so that other users can use it:::::

    #608423

    Hey!

    You can share on this thread – https://kriesi.at/support/topic/please-contribute-and-translate-enfold/
    Thank you for your contribution :)

    Best regards,
    Yigit

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.