Right to Left Languages?
Jul 6, 2016 3:22 pm by CreativeDC
Jul 6, 2016 3:22 pm by CreativeDC
Hello, there is some slight problems when GTranslate works with Arabic. Specifically the right to left display. Do you have any recommendations for fixing this? Or how this may be fixed?
Does the paid version allow for editing of the language? If so how does that work with Right to Left Languages?
BTW, I'm using the Wordpress version of GTranslate.
Re: Right to Left Languages?
Jul 7, 2016 8:09 am by Yana
Jul 7, 2016 8:09 am by Yana
Hi,
Your template should be optimized for RTL languages.
With payed versions you will be able to manually edit the translations. It works properly with RTL languages.
Re: Right to Left Languages?
Jul 7, 2016 2:26 pm by CreativeDC
Jul 7, 2016 2:26 pm by CreativeDC
Hi Yana, thanks for your reply.
I guess my next question is if my website is a primary English Language does Gtranslate know when to switch to another style sheet for RTL languages?
Or is there something else that I need to prepare in the actual theme?
Re: Right to Left Languages?
Jul 7, 2016 2:45 pm by Edvard
Jul 7, 2016 2:45 pm by Edvard
Hi,
Usually there is no need to do anything special. However if your template requires customization based on selected language, then you can detect the current language code from X-GT-Lang header and do your customization based on that. It will require some programming skills:
This is from our documentation:
"Detecting selected language
If you want to code something special for individual language you can detect the current selected language and write your code based on that.
You can find the current selected language code from X-GT-Lang request header. If your site is written in PHP you can find it in _SERVER['HTTP_X_GT_LANG'] variable."
https://gtranslate.io/docs/58-gtranslat ... umentation
Thanks!
SIMILAR TOPICS
how to translate site right to left for arabic in WordPress | Dec 26, 2018 9:02 am | Replies: 1 | Post by: Hammond753 |
How do I add Indian languages in Drupal GTranslate? | Sep 18, 2011 6:10 am | Replies: 26 | Post by: rag_gupta |
how to translate website right to left for arabic in WordPre | Aug 23, 2018 8:18 am | Replies: 1 | Post by: willsonjayram |
Code to use in Google Analytics to track languages | Nov 16, 2015 10:46 am | Replies: 9 | Post by: lucysadler |
Different languages - different banners | Mar 27, 2018 11:20 am | Replies: 3 | Post by: samdo |