-
AuthorPosts
-
November 5, 2013 at 12:52 pm #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?November 7, 2013 at 10:20 am #185525Hey 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,
PeterNovember 7, 2013 at 4:02 pm #185661This reply has been marked as private.November 9, 2013 at 8:40 am #186418Hi!
Please create us an admin account and post the login credentials as private reply. I’ll look into it.
Cheers!
PeterNovember 9, 2013 at 3:16 pm #186467This reply has been marked as private.November 10, 2013 at 3:27 am #186552November 11, 2013 at 8:48 am #186749Hey!
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,
PeterNovember 11, 2013 at 9:16 am #186756Hej,
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?
November 11, 2013 at 9:24 am #186758Hi!
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!
PeterNovember 12, 2013 at 1:40 pm #187212This reply has been marked as private.November 13, 2013 at 9:49 am #187660Hi!
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,
PeterNovember 13, 2013 at 2:52 pm #187760This reply has been marked as private.November 14, 2013 at 10:11 am #188276Hi!
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,
PeterNovember 14, 2013 at 10:26 am #188278This reply has been marked as private.November 14, 2013 at 3:22 pm #188379Hi!
Please go to wp-content\themes\enfold\lang folder in your WordPress theme directory
Best regards,
YigitNovember 14, 2013 at 3:40 pm #188390This reply has been marked as private.November 15, 2013 at 12:03 pm #189144Hi!
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!
PeterNovember 16, 2013 at 9:23 am #189555This reply has been marked as private.November 17, 2013 at 3:32 pm #189805Hi!
You need to replace the “Your Message” text with your custom text.
Cheers!
PeterNovember 17, 2013 at 6:18 pm #189827This reply has been marked as private.November 18, 2013 at 9:57 am #189995Hi!
Yes please – create us an admin account and post the login credentials as private reply.
Regards,
PeterNovember 18, 2013 at 10:01 am #189996This reply has been marked as private.November 19, 2013 at 10:37 am #190499Hi!
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,
PeterNovember 19, 2013 at 6:06 pm #190673This reply has been marked as private. -
AuthorPosts
- The topic ‘How can I set Enfold to swedish using Code Styling Localization?’ is closed to new replies.