Community Forums › Forums › Archived Forums › General Discussion › I need child theme that integrates language switcher in main nav menu
Tagged: language switcher, multilanguage, wpml
- This topic has 5 replies, 2 voices, and was last updated 8 years ago by Chris35.
-
AuthorPosts
-
September 19, 2016 at 2:44 am #193338rafael74Member
Hello to everyone,
I am new to studiopress and I am in trouble as one client asked me to have a new website in several languages (french, spanish, italian, arabic, german and english). I am planning to implement WPML plugin but I still need to know if there is any child theme that has this feature already implemented, I mean, to put net to the top bar navigation menu a second menu with flags so the user can clic on them to switch the site language.
I would be very grateful if you could let me know.
Kind regars.
September 19, 2016 at 8:02 am #193351Chris35MemberDo you know the Poedit free program ? With that you can edit your theme.po file and should translate all you need 😉
September 19, 2016 at 8:17 am #193354rafael74MemberHello Chris35, thank you for your reply. Actually I am learning how to use poedit and I also would like to help the comunity to translate in Spanish (my native language).
But this is not the case, as the website I am going to build will create some sort of cientific articles and they will need to be translated in other languages and the client wants to use WPML to let translators to access the admin site to make the translation from the original article.
I tested WPML on local server and everything works fine, the only problem I found is how "ugly" is the looking of the language switcher that I pñaced in the top navigation bar.
I have tried with Hello Pro, Executive Pro and AgentPro and the design look of the language switcher looks not nice and not even aligned.
What is the child theme that could help me implement the languahe switcher wuthout breaking the site design? Does anyone know?
Thank you in advance!
September 19, 2016 at 9:22 am #193362Chris35MemberI'm use to edit PO and MO files but not with Genesis Framework's themes. I looked on Language folder, found a PO file but it look almost terms as "Read More..." and others things wasnt founded... I'm sorry but i can't help you no more with that, to do it properly.
The only solution i think about is to directly edit the PHP files of your child theme...
Hope it helps !
Bon après midi ! (i'm french:)
September 19, 2016 at 10:03 am #193366rafael74MemberThats no problem Chris35, and thank you very much for talinh the time to help me 🙂
I would suspect most themes will need you do tweak the code a bit to optimize the appearance in order to implement a menu language switcher.
What I figured out is that perhaps will be bettet to make standalone wp installations in subdirectories for each language and from the main site tweak te top part and create a simple menu with language flags to link to those subdirectories. In this standalone installations I can make the translations of .po files for each languages. If I can achieve this I will get rid of the WPML plugin and make the sites more robust and secure and fast load speed.
I will keep looking and try to find a solution and I will post it here.
Thak you again !!
September 19, 2016 at 2:10 pm #193387Chris35Member -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.