New Landing How can we help? Cardinal how to change cardinal theme language?

Viewing 15 posts - 46 through 60 (of 60 total)
  • Posted in: Cardinal
  • #129211
    studioenigma
    Member
    Post count: 56

    “Still I get the permission issue error, are you sure the ftp points correctly to the theme?”

    Do you mean i am in the right folder?

    I am, but cannot locate the .po file, only .mo file…

    #129330
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Did you try my suggestion of editing the .po file using POEdit?? Take the .po files from the latest theme version in themeforest ( download it ) and use that to translate using POEdit, and keep me updated.

    Let us know,

    Thanks,
    laranz.

    #129332
    studioenigma
    Member
    Post count: 56

    hi Laranz,

    cardinal/includes/options/languages/nl_NL.po doesn’t exist, I downloaded the newest version of the theme as you said, but this folder only contains the nl_Nl.mo file…

    I can copy the .po file from cardinal/language if nescessary, or try to use poedit to open the .mo file and get a .po file as well. But the theme as is does not contain the file you asked me to CHMOD in the folder you specified…

    what should I do?

    regards

    #129333
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you copy the existent file in cardinal/language/nl_NL.po to cardinal/includes/options/languages/nl_NL.po

    -Rui

    #129376
    studioenigma
    Member
    Post count: 56

    Hi guys,

    I uploaded the .po file from cardinal/languages tot options/languages folder and CHMODded tot 755,

    what’s next?

    #129551
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Use the codestyling localization plugin to translate those texts, if need rescan the texts in that plugin options. ( If you are new to that plugins, I suggest you to go through its docs on getting started ).

    Let us know,

    Thanks,
    laranz.

    #129554
    studioenigma
    Member
    Post count: 56

    Hi Laranz,

    I rescanned the dutch language in codestyling for both Cardinal parent and child theme. Still the same problem.

    The strings are already translated in the .po file, but they don’t get translated in the front end. (As they have been all along)

    I do not understand what is happening and I give you full permission to use either the ftp login info I supplied or the admin login to fix this issue.

    Translations are not working with the theme as they should, and I feel like I am being sent around in circles telling you the exact same thing I told you 2 weeks ago, even though you said you would fix the issue for me if i sent you my ftp login.

    Any help would be much appreciated.

    #129557
    studioenigma
    Member
    Post count: 56

    I created a completely blank wordpress install, set to dutch language, with cardinal installed, for testing purposes.

    http://www.bellolio.nl/test

    I immediately noticed the same strings where untranslated as on my other install.

    I then imported the demo content for “Shop two” using Cardinal demos plug-in (this is the demo I based my other page on also)

    Off course i know the demo content is in English but also about half the theme strings which should be translated automatically when I install this way remain untranslated (same ones as in my other install…)
    Some examples:

    “Unfortunately your shopping cart is empty” (Cart dropdown in nav)
    “Previous article” “Next article” (blogposts)
    “View cart” (cart dropdown when not empty)
    “Update cart” (cart page)
    “add to cart” (button in shop archive overlay)
    “My wishlist on Cardinal test” (wishlist dropdown & wishlist page)

    on the other hand there are some strings that where not translated in my previous install, which are translated now strangely enough..
    Some examples:

    “Reviews” (product page)
    “add to cart” (product product page)
    basically the entire checkout page

    So what I did next was install codestyling plug-in to check if i could find those untranslated strings. I got the same notice you got before about not having permissions for cardinal/includes/options/languages/nl_Nl.po

    Once again this file doesn’t exist.

    This makes me feel like there is something fundamentally wrong with the way the theme interprets translations.

    I went ahead and copied the nl_Nl.po file from cardinal/language and CHMODded nl_Nl.po and nl_Nl.mo to 755.

    Now I was able to scan the translation. As expected al untranslated strings contain translation according to codestyling.

    Since this is a clean install I am now sure i did not screw anything up in customization so the problem in my eyes has to be with the theme, meaning I need a fix from you guys ASAP

    Regards

    #129558
    studioenigma
    Member
    Post count: 56
    This reply has been marked as private.
    #129714
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Because that are the steps we need to do, I did that in the test installation and it works, see that in the demo site.. see it here for info: http://cardinal.swiftideas.com/documentation/#165 for more info..

    Let us know,

    Thanks,
    laranz.

    #129770
    Supreme007it
    Member
    Post count: 70

    Hi,

    i’ve found the message “Unfortunately, your cart is empty” in the file located here:

    wp-content/themes/cardinal/swift-framework/core/sf-woocommerce.php

    When i changed it with the italian translation everything worked fine.

    I think some of the messages that don’t work are hardcoded in the core of swift.

    Could you please fix this in order to keep the theme updated?

    Thanks

    #129787
    Supreme007it
    Member
    Post count: 70

    Hello again,

    i’ve found that in the .po file the translation of “Unfortunately, your cart is empty” is linked to the 228 line of wp-content/themes/cardinal/swift-framework/core/sf-woocommerce.php but the i think the right line is 248.

    thanks

    Attachments:
    You must be logged in to view attached files.
    #129806
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    If you notice next to the “Unfortunately, your cart is empty” there is the translation domain that in that case is “woocommerce” instead of “swiftframework”.

    So this one should be translated in the woocommerce translation file.

    -Rui

    #129816
    studioenigma
    Member
    Post count: 56

    Hi Laranz,

    Thanks for setting up the test installation in the right way.

    Could you please tell me what you did to fix the issue, so I can fix it in my “real” installation as well?

    Regards

    #129924
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    I just install a plugin named “Loco translate” and generate the .mo file by clicking the save in that plugin, and it did the work. I suggest you to do the same in the real site too, delete the language folder and upload new translation files from the fresh download of the theme and generate the .mo file using the plugin.

    Let us know,

    Thanks,
    laranz.

Viewing 15 posts - 46 through 60 (of 60 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