Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #184743

    Hi.
    I want to translate some things on my site to swedish. When I installed the Code Styling Localization, I found that the majority of the theme already has been translated. How can I start using the translated version instead?

    #185525

    Hey p_lo84!

    You just need to use the Swedish version of wordpress: http://codex.wordpress.org/WordPress_in_Your_Language#Swedish_-_Svenska_.28sv_SE.29 – if the default wordpress language is set to Swedish wordpress will also load the Swedish theme translation files automatically.

    Regards,
    Peter

    #185661
    This reply has been marked as private.
    #186418

    Hi!

    Please create us an admin account and post the login credentials as private reply. I’ll look into it.

    Cheers!
    Peter

    #186467
    This reply has been marked as private.
    #186552

    Hey!

    You need to use the WPML plugin to translate the website.

    Regards,
    Ismael

    #186749

    Hey!

    But the translation seems to work for me – i.e. here http://www.yourturn-consulting.se/ the “Search” form shows “Sök” instead of “Search”. Also here: http://www.yourturn-consulting.se/?s=test all phrases/words except “If you are not happy with the results below please do another search” are translated and this sentence is probably also missing in the translation files.

    Regards,
    Peter

    #186756

    Hej,
    How do I add the missing content in the translation files?

    Refering to message 186474 there are some german text in the mail that the the client receives. Could this be managed without installing the WPML plugin?

    #186758

    Hi!

    Yes – use Codestyling instead: http://wordpress.org/plugins/codestyling-localization/
    Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and select “Swedish”. Then click on “Rescan” to fetch all text strings. Afterwards click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).

    Cheers!
    Peter

    #187212
    This reply has been marked as private.
    #187660

    Hi!

    This text can be found in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact.php on line 148 and in wp-content/themes/enfold/framework/php/class-form-generator.php on line 568. The original text is “New Message”.

    Regards,
    Peter

    #187760
    This reply has been marked as private.
    #188276

    Hi!

    Please try to delete the German language file – it’s located in the enfold/lang folder and is called de_DE.po and de_DE.mo. I’m still not sure why Enfold loads the German language files on your server but hopefully it will start to use the Swedish translation files if you remove the German files.

    Regards,
    Peter

    #188278
    This reply has been marked as private.
    #188379

    Hi!

    Please go to wp-content\themes\enfold\lang folder in your WordPress theme directory

    Best regards,
    Yigit

    #188390
    This reply has been marked as private.
    #189144

    Hi!

    It can be found on line 682 in framework/php/class-form-generator.php – search for

    
    $message = nl2br($this->form_params['autoresponder'])."<br/><br/><br/><strong>".__('Your Message:','avia_framework')." </strong><br/><br/>".$message;
    

    Cheers!
    Peter

    #189555
    This reply has been marked as private.
    #189805

    Hi!

    You need to replace the “Your Message” text with your custom text.

    Cheers!
    Peter

    #189827
    This reply has been marked as private.
    #189995

    Hi!

    Yes please – create us an admin account and post the login credentials as private reply.

    Regards,
    Peter

    #189996
    This reply has been marked as private.
    #190499

    Hi!

    I looked into it and the problem is that the Swedish translation file seems to contain German text strings. We didn’t notice it in the past because anyone of the support team speaks Swedish and we did not translate the theme. We used a file which was provided by an user and we didn’t check if the text strings are translated properly or not. I made a video which shows you how you can find and change the German text strings: http://www.screenr.com/fXoH . Afterwards regenerate the mo file. If you’re ready please send us the translated files and we’ll include them in the next update for all Swedish users.

    Best regards,
    Peter

    #190673
    This reply has been marked as private.
Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘How can I set Enfold to swedish using Code Styling Localization?’ is closed to new replies.