• Hello, i have a problem with language files. I run a webshop with Cart66 plugin. It is standard in English, but have with the latest updates made available with spanish and italian language files. I took one of them and changed into swedish and named them cart66-sv_SV (both .mo and .po files). Now to my problem. It doesnt say anywere how to change the language. at cart66 it says it doesnt support other languages but there have to be a way for this to work if they made it available with spanish and italian (it doesnt say how to set up those languages either btw).

    This is the Code that i think have to do with the language (cart66.php):

    */
    $cart66 = new Cart66();
    load_plugin_textdomain( 'cart66', false, '/' . basename(dirname(__FILE__)) . '/languages/' );

    Ive tried to change everything but I can´t make it work. does anyone have an Idea, anything, of what to do?
    Thanks!
    -David

Viewing 1 replies (of 1 total)
  • You won’t need to alter any of the plugin’s code. Just put your .mo and .po files in the languages dir.

    You’ll need to visit this page to get WordPress to localize your site.
    http://codex.wordpress.org/WordPress_Localization

    Looks like you should be using “sv_SE” as the ending of the file names (instead of sv_SV)

    Once you have your site localized, send the cart66 developers your localization file for them to release in their next update.

Viewing 1 replies (of 1 total)
  • The topic ‘Cart66 running on another language.’ is closed to new replies.