New Landing How can we help? Atelier Theme es_ES translation files not applied

  • This topic has 15 replies, 3 voices, and was last updated 9 years by bit_up.
Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Atelier
  • #190151
    bit_up
    Member
    Post count: 9

    I am not able to configure template with language es_ES.

    Wordpress is es_ES configured but the theme does not apply mo file for translated strings. As far as I know, everything seems correct (theme loads textdomain) and inspecting the po file, seems that many strings are translated. However, theme options still appear in English and other strings used to navigate through the website.

    I would appreciate any solution on this.

    Thanks in advanced

    Attachments:
    You must be logged in to view attached files.
    #190525
    David Martin – Support
    Moderator
    Post count: 20834

    Hey!

    Could you please supply a WP login credential for us and post a link to your site or page in question for us to investigate?

    Thanks.

    #190736
    bit_up
    Member
    Post count: 9

    of course!

    I am working locally right now, but i have uploaded a copy to following address (deploy server):

    http://www.differentstore.es/wp-admin/

    user: administrador
    pass: _administrador_

    Actually you can change data to check or test something as this is not the real data and it will change with a fresh install later on.

    What I am more concerned is with strings as: “Proceed to checkout”, “view wishlist”, etc. that should appear in spanish as it is translated at .pot.

    Thanks in advanced!

    #190749
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Did you checked the Woocommerce translation file?

    The theme options are ready for translation but need to be translated inside the .po file.

    Did you made any of this theme options translation?

    Thanks
    -Rui

    #190756
    bit_up
    Member
    Post count: 9

    yes! Strings as “Proceed to checkout” are filled in; at least in the provided es_ES.po which I attached to this post.

    Maybe the mo is not paired with this file and I should save it to reveal changes. In any case I will check it out but I will still attach the files.

    Thanks in advanced.

    #190758
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Also try to copy the .mo files to wp-content/languages/

    Let us know how it goes.

    -Rui

    #191916
    bit_up
    Member
    Post count: 9

    Hi,

    it seems that it does not work. I have opened and saved again the es_ES.po file with poedit (which converts the po file into mo file.).

    I attach the images that shows the process.

    image1 shows the path of the mo file (inside the atelier theme folder)
    image2 shows that the po file translates string Performance Options
    image3 shows no translation on the string Performance Options.

    Thanks in advanced

    Attachments:
    You must be logged in to view attached files.
    #191984
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Is the only issue the theme options are not translating?

    – Are you using WPML?

    If so, you have to save the Admin Language in WPML menu ( Set Default admin language ).

    Thanks.

    #191986
    bit_up
    Member
    Post count: 9

    Yes is the only issue.

    I actually see everything alright but can not understand why it is not translating. Theme Textdomain wordpress api checks the files correctly and WP language settings are set to spanish. Actually all plugins beside the theme detect the language.

    I am totally lost on this issue.

    Thanks in advanced.

    #191987
    bit_up
    Member
    Post count: 9

    Sorry I forgot to tell that I am no using WPML or other plugin. The Site will be in spanish (no translation by the moment).

    Thanks in advanced

    #192085
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please use WPML to translate the theme options.

    Thanks.

    #192135
    bit_up
    Member
    Post count: 9

    I have installed and configured WPML. I checked that founds the .mo file in the configuration options but I still have no translated options.

    Actually I do not believe that I should use WPML to get locale files (es_ES.mo). Moreover, the site won’t have any translated content in the near future so I do not believe that I should install any WP language manager. Of course, it could be a possibility for the future and I would like to solve this problem.

    Woocommerce, for instance, loads all locale files correctly. I suspect that it should be something with either the .po file or any other way to load it.

    I have output get_locale();die(); in functions.php right after load_theme_textdomain(… and it shows es_ES.

    Finally, I would like to translate not only theme options but woocommerce strings used in this theme as: “Proceed to checkout”.

    es_ES.po
    #: swift-framework/core/sf-header.php:1214
    #: swift-framework/core/sf-woocommerce.php:692
    #, fuzzy
    msgid “Proceed to checkout”
    msgstr “Proceder a la comprobación”

    Thanks in advanced.

    #192499
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you check if you also have a directory called wp-content/languages/

    If so try to copy there your translated .mo files

    -Rui

    #192511
    bit_up
    Member
    Post count: 9

    I already did that but anyway I have again copied it to the languages folder without success. Still no translation appears after reset browser cache, etc.

    I did also copy the es_ES.mo provided in the language folder of atelier to wp-content/languages/themes and (according to wordpress documentation) I changed the filename as follows: {domain}-es_ES.mo I checked with following names:

    1)swiftframework-es_ES.mo
    2)atelier-es_ES.mo

    And neither of them worked.

    The theme is great, really, very good work but I am totally lost after reading wordpress doc about theme translation and standards. Provided .mo file does not seem to be corrupted and echoing output of load_theme_textdomain results in 1 (True: everything fine) but no string is translated.

    I would appreciate any help as the goal is to configure an online shop for spanish (Spain) customers.

    Finally, should I turn on some theme options to allow woocommerce-quickview? It does not appear.

    Thanks in advanced.

    #192528
    bit_up
    Member
    Post count: 9

    Hi,

    I have realized that translation works but not all strings are translated. “My account” and “Sign out” get translated but proceed to checkout dont.

    Could it be a .po error?

    Thanks in advance

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register