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
-
June 10, 2016 at 4:53 pm #273895This reply has been marked as private.June 10, 2016 at 5:54 pm #273917
David
I add my translated po mo files it_IT on atelier/language directory and it works
This is not the solution I need because a) when I update Atelier, those files changes to defaults whitout my translation; b) there is a bug who changes all theme options labels on backend
Please access to my wp dashboard and you will see all theme options named as “Opzioni Tema” which is “theme options”
thanks for your help!
Marco
June 11, 2016 at 11:30 pm #274004Hi,
Can you try just this line in your child theme functions.php instead the code you entered earlier?
load_child_theme_textdomain( 'swift-framework', get_stylesheet_directory() . '/language' );
-Rui
June 12, 2016 at 8:35 pm #274091No success.
June 13, 2016 at 6:55 pm #274352@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 14, 2016 at 8:07 am #274474Hi @David
did you check my post?
I wrote on JUNE 10, 2016 AT 4:53 PM and I still need help
thanks for support
Marco
June 14, 2016 at 11:23 am #274564June 14, 2016 at 11:51 am #274579@Rui, yes I did it but not working
June 14, 2016 at 1:11 pm #274620Not sure if your reverted the code but when I checked the functions.php of the child theme it was still with the other code. I commented and place only that line, I checked the file permissions and everything seems fine.
https://www.dropbox.com/s/5a2t9n4a1ragiwa/Screenshot%202016-06-14%2013.17.29.png?dl=0Any example of something you translated in those files that we can confirm?
-Rui
June 14, 2016 at 1:43 pm #274629Hi Rui,
Thanks for your reply. I tested to call load_child_theme_textdomain() both inside a custom function and to call it directly as you suggested. It doesn’t work in both ways.
We have 2 main issues:
1) .po .mo files are not loaded from my child theme “Salugea”, it uses default theme translation files
(to test it you can rename “.po .mo” to “.po.default .mo.default” on /atelier/languages/ and you will see product purchase button “Aggiungi al carrello” to become as default “Add to cart” – check product box on my homepage right after main image with green leaves)2) when I edit .po file with Poedit I need to validate some rows – those rows are highlighted in gold. After validating those rows and uploaded .po .mo files on /language dir all theme options labels on WordPress will become translated as “theme options” > “opzioni tema”
I hope you can understand what is happening
regards
MarcoJune 14, 2016 at 7:19 pm #274746Same thing happening to me.
Seems like the italian base theme .po file is not well translated or somethibg like that.
It gets really annoying when you upgrade you lose all the changes to the translations…June 15, 2016 at 11:42 am #274897Hi,
Please find this code at functions.php of child theme:-load_child_theme_textdomain( 'swift-framework', get_stylesheet_directory() . '/language' );
Change with:-
load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/language' );
Thanks
MohammadJune 15, 2016 at 12:00 pm #274902Simple – but it works for me.
June 15, 2016 at 1:25 pm #274910Hi,
Glad 🙂 to help you.
Thanks
MohammadJune 15, 2016 at 3:36 pm #274968Hi @Mohammad
It works for me too, so with this we solved issue #1 but theme option tab in backend still have trouble (issue #2)
Please refer to this post http://www.swiftideas.com/forums/topic/language-issues-2/page/2/#post-274629
thanks for help
regards
Marco -
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.