Add new language
Jan 19, 2015 2:03 pm by laumedia
Jan 19, 2015 2:03 pm by laumedia
Hi, how can I add a new language to translate with GTranslate?
My page is built in Spanish, and I have a translation to English, but I want to add another language, what I have to do?
Thanks a lot.
Re: Add new language
Jan 19, 2015 6:49 pm by Yana
Jan 19, 2015 6:49 pm by Yana
Hi,
You should find the instructions in our documentation . You can find it here https://gtranslate.io/docs/
If you can send me your GTranslate version I'll be more specific.
Re: Add new language
Mar 2, 2015 1:13 pm by laumedia
Mar 2, 2015 1:13 pm by laumedia
Hi, I have GTranslate Pro Version.
I'd like to add Chinese to my website, I have Spanish and English already, and I need to know which URL I have to use to translate the content.
Thanks a lot.
Re: Add new language
Mar 2, 2015 1:41 pm by Yana
Mar 2, 2015 1:41 pm by Yana
Hi,
You just need to enable the Chinese language in gtranslate language selector settings page . The URL will be domain.com/zh-CN for Chinese (Simplified) or domain.com/zh-TW for Chinese (Traditional).
Re: Add new language
Mar 2, 2015 2:27 pm by laumedia
Mar 2, 2015 2:27 pm by laumedia
Yeah, I did that, but it says that the page doesn't exist. You can see it here; http://clinicaciro.es/zh-CN
And, once it works, how can I change the text and add the translation manually?
Which URl do I have to use? clinicaciro/zh-CN/?language_edit=1 ?
Thanks!
Re: Add new language
Mar 2, 2015 2:39 pm by Yana
Mar 2, 2015 2:39 pm by Yana
Hi,
I can see the translated version by direct link http://clinicaciro.es/gtranslate/transl ... lang=zh-CN
Please check gtranslate .htaccedd rules. If you modified them please add the Chinese language code also . You need to replace en|es with en|es|zh-CN|zh-TW
Re: Add new language
Mar 2, 2015 2:55 pm by laumedia
Mar 2, 2015 2:55 pm by laumedia
I don't understand. I didn't change anything before in the .htaccess. Anyway, I'll check it out with my provider, but I need to know the URL to change the translation and add my own translation to my website. Could you please tell me how I can do that? Because even if I use http://clinicaciro.es/gtranslate/transl ... age_edit=1, it doesn't work.
Regards,
Re: Add new language
Mar 2, 2015 2:59 pm by Yana
Mar 2, 2015 2:59 pm by Yana
Hi,
To edit the translations you just need to add ?language_edit=1 to the end of the URL.
http://clinicaciro.es/en?language_edit=1
If you already have ? in the URL you need to use &
http://clinicaciro.es/gtranslate/translate.php?lang=zh-CN&language_edit=1
Re: Add new language
Mar 10, 2015 10:37 am by laumedia
Mar 10, 2015 10:37 am by laumedia
Hi Yana,
I'm asking for my technician to change the .htaccess, but he need to know what to change exactly. Could you please tell me what he has to change or add in this file? I'll appreciate it. I'm in a rush and I need to change the URL to clinicaciro.es/zh-CN as soon as possible.
Thanks a lot!
Re: Add new language
Mar 10, 2015 2:34 pm by Yana
Mar 10, 2015 2:34 pm by Yana
Hi,
Here are the rules for GTranslate. You should put them after RewriteEngine On
# gtranslate config
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
Re: Add new language
Mar 10, 2015 6:29 pm by laumedia
Mar 10, 2015 6:29 pm by laumedia
Thanks, I'll tell you if I have any trouble.
Best regards,
Lara.
Re: Add new language
Mar 10, 2015 10:04 pm by Yana
Mar 10, 2015 10:04 pm by Yana
You are welcome!
SIMILAR TOPICS
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |
Change language automatically | Nov 26, 2018 9:29 pm | Replies: 3 | Post by: Antilb |