Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Language issues
New Landing › How can we help? › Atelier › Language issues
- This topic has 34 replies, 9 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Atelier
-
May 17, 2015 at 5:38 pm #175674
Hi,
I have some trouble using the Atelier theme in German. For example the parts of the menu, like the cart or the product review section is still in English.
All plugins are translated, like you explained here: http://www.swiftideas.com/forums/topic/translation-problems-2/.
By changing the theme to the wordpress default theme 2015, it appeared, that all translations are correct. So my conclusion is, the theme overwrites the plugin languages.
So I tried to add the German language files to my child theme folder, like you explained here: http://swiftideas.com/documentation/2014/05/26/translation/
However northing happened.I uncommented the part in the atelier child theme functions.php as you described in the file:
/* LOAD THEME LANGUAGE
================================================== */
/*
* You can uncomment the line below to include your own translations
* into your child theme, simply create a “language” folder and add your po/mo files
*///load_theme_textdomain(‘swiftframework’, get_stylesheet_directory_uri().’/language’);
Nothing happend.
I followed the instructions here: https://codex.wordpress.org/Child_Themes#Internationalization
It is still there, the uncompleted translation.
So do you have any suggestions, what I am doing wrong?
Thanks in advance, Michael
May 18, 2015 at 5:06 pm #176100Hi,
It seems you have everything right. Will need to investigate this further for that will need admin credentials to WordPress and also FTP to check your translation files and their permissions.
Use the private reply.
-Rui
May 18, 2015 at 6:31 pm #176144This reply has been marked as private.May 19, 2015 at 12:53 pm #176460Will forward to Rui for you
– Kyle
May 19, 2015 at 5:05 pm #176612Hi suesmadewithlove
The reason why the original translations you have don’t work in our theme is because we have overridden the plugin template files – so we have to put the translation in our theme language file.
The easiest way to ensure you don’t lose your translations with each update is to provide us with the translation file, so that we can include it with the next update. Would you be happy to do that?
– Ed
May 19, 2015 at 8:34 pm #176658This reply has been marked as private.May 19, 2015 at 8:41 pm #176662Hi,
Yes, you can attach them here in a zip file.
Thanks-Rui
May 24, 2015 at 8:32 pm #178011This reply has been marked as private.May 27, 2015 at 12:28 pm #178825This reply has been marked as private.May 4, 2016 at 11:34 am #265364Same problem here. I’d like to overwrite the themes language but it just won’t work. And it’s not the files. It works once i replace the original ones.
/* LOAD THEME LANGUAGE
================================================== */
/*
* You can uncomment the line below to include your own translations
* into your child theme, simply create a “language” folder and add your po/mo files
*/load_theme_textdomain(‘swiftframework’, get_stylesheet_directory_uri().’/language’);
May 4, 2016 at 6:13 pm #265435@maratino – that code is for you child theme, have you activated the child theme and then added your language file to the child theme folder
/language/
?For instuctions on how to edit the translation strings, please read this: http://www.swiftideas.com/knowledgebase/translating-the-theme-using-poedit/.
Thanks.
May 4, 2016 at 6:51 pm #265440May 6, 2016 at 2:30 pm #265855@maratino – please open a new thread with your WP login details and your FTP details, i’ll take a close look at your setup.
Thanks.
June 10, 2016 at 4:31 pm #273884Hi
I have the same problem here… how to solve it?
I have a network installation and I’m working on a child theme
I add this function to my functions.php on child theme
add_action( 'after_setup_theme', 'sf_child_theme_setup' ); function sf_child_theme_setup() { load_child_theme_textdomain( 'swift-framework', get_stylesheet_directory() . '/language' ); }
I uploaded .po .mo files on /mychild/language/it_IT .po .mo but they won’t be loaded from translation.
regards
MarcoJune 10, 2016 at 4:33 pm #273885@Marco – please open a new thread with your WP login details and your FTP details, i’ll take a close look at your setup.
I need you to let me know what texts are not translating.
Thanks.
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.