Change Joomla's language
Jan 16, 2012 11:54 am by ione
Jan 16, 2012 11:54 am by ione
Hi,
How I can change the language of my site when I translate with gTranslate?
This means that Joomla interprets the language of the site has changed.
I need is that Joomla interprets that language that has resulted gtranslate is the default language of the site.
I do not know if I explained well.
Re: Change Joomla's language
Jan 16, 2012 9:01 pm by Yana
Jan 16, 2012 9:01 pm by Yana
Hi,
Would you please clarify exactly what you're asking about. And an example might also help us understand the problem.
Re: Change Joomla's language
Jan 17, 2012 9:29 am by ione
Jan 17, 2012 9:29 am by ione
Ok,
For example, on my site, when enter (http://canaryexperience.com/sport-fishing) and translated into another language, there are parts that are not translated, but if I change the default language of Joomla, it translates well.
I have a component installed (Appointment Booking Pro) that has a translator himself, but only translates, if you change the Joomla's language.
Re: Change Joomla's language
Jan 19, 2012 10:56 am by ione
Jan 19, 2012 10:56 am by ione
Do you understand what I try to explain?
Re: Change Joomla's language
Jan 22, 2012 4:00 pm by Edvard
Jan 22, 2012 4:00 pm by Edvard
You will need to disable the other translator, so everything will be handled by GTranslate.
Or if it translates only some part of a page, you will need to add class="notranslate" to the component's wrapper element and contact the extension developers to use the selected language from GTranslate instead of Joomla default language.
Re: Change Joomla's language
Jan 23, 2012 9:49 am by ione
Jan 23, 2012 9:49 am by ione
Hi,
The component don't have another translator, this uses keywords and translate in a file manually. Managers tell me that this component is supported with gTranslate.
I do not know what the problem.
Also, I have another problem. On page http://canaryexperience.com/descubre-el-mar1, gTranslate not translate any of the descriptions of my products and they have nothing to do with the component.
Re: Change Joomla's language
Jan 26, 2012 12:16 am by Edvard
Jan 26, 2012 12:16 am by Edvard
Hi,
You said that the other extension has a translator itself, can it be disabled?
I have checked and see that it works for German: http://canaryexperience.com/de/descubre-el-mar1
If you want something to be translated instantly and don't want to wait, you can add ?force_translation=1 parameter in the end of the URL. Ex. http://canaryexperience.com/de/descubre ... nslation=1
Re: Change Joomla's language
Jan 26, 2012 11:10 am by ione
Jan 26, 2012 11:10 am by ione
Ok,
As I said, the component does not have a translator like gTranslate. This uses keywords and translates in a file manually.
I can disable it, but enabled or disabled, has no effect.
gtanslate don't translates the part where you choose the seats http://canaryexperience.com/es/diving
Also I need to translate these keywords to send the confirmation email in the language of each user.
As for the translation of the texts, are translated correctly. I had not seen the option to force translation. Thanks.
Re: Change Joomla's language
Jan 29, 2012 6:00 pm by Edvard
Jan 29, 2012 6:00 pm by Edvard
Hi,
I can see it translated: http://canaryexperience.com/es/diving
If you want to not wait and translate it forcibly you can add ?force_translation=1 in the end of the current URL. Ex. http://canaryexperience.com/es/diving?f ... nslation=1
You can make that change permanent if you edit your .htaccess file and replace lang=$1 with lang=$1&force_translation=1
Re: Change Joomla's language
Jan 30, 2012 10:07 am by ione
Jan 30, 2012 10:07 am by ione
Hi,
gTranslate don't translates the part where you choose the seats http://canaryexperience.com/es/diving. Adult, youth and total seats do not translate.
I need to translate these keywords (through the booking component) to send the confirmation email in the language of each user. If don't so, How I can send the confirmation email to customers based on their language?
Re: Change Joomla's language
Jan 30, 2012 11:17 am by Yana
Jan 30, 2012 11:17 am by Yana
Hi,
You can edit translations manually. You should add ?language_edit=1 to the end of the page URL. It will prompt for password.
Re: Change Joomla's language
Jan 30, 2012 12:54 pm by ione
Jan 30, 2012 12:54 pm by ione
Hi,
That's not possible, when I add ?language_edit = 1 to the end of the page URL, that part will not let me edit it manually.
Moreover, as I said in my previous post:
I need to translate these keywords (through the booking component) to send the confirmation email in the language of each user. If don't so, How I can send the confirmation email to customers based on their language?
Re: Change Joomla's language
Jan 30, 2012 1:02 pm by Yana
Jan 30, 2012 1:02 pm by Yana
Here is an example for Spanish
http://canaryexperience.com/es/diving?language_edit=1
Click on the "Edit" button(a small pencil icon), make corrections and save your changes.
Re: Change Joomla's language
Jan 30, 2012 5:04 pm by ione
Jan 30, 2012 5:04 pm by ione
I know how does the ?language_edit = 1 option
Please read my previous posts where I say:
gTranslate don't translates the part where you choose the seats http://canaryexperience.com/es/diving. Adult, youth and total seats do not translate.
?language_edit = 1 option has no effect on that part. Not appear the "Edit" button(a small pencil icon)
Re: Change Joomla's language
Feb 2, 2012 9:00 pm by Edvard
Feb 2, 2012 9:00 pm by Edvard
Hi,
I have checked the source code and can see that in the source code the part containing mentioned adult, youth and total seats section is empty (<div id="resource_seat_types_div"></div>). After the page is loaded it is being populated by javascript. So, if you can change it, so it will not use javascript to render that section, it will be translated too.
Re: Change Joomla's language
Feb 3, 2012 10:11 am by ione
Feb 3, 2012 10:11 am by ione
Hi,
Changing it would be very complicated because it is an external component with a very complex coding.
It would be possible to modify the code so that each time you press one of the flags on gTranslate, changed language translation of Joomla. I think that would solve all my problems.
Would it be possible?
Re: Change Joomla's language
Feb 7, 2012 11:04 am by Edvard
Feb 7, 2012 11:04 am by Edvard
Hi,
It is little bit complicated, if you change the Joomla language before the translation by GTranslate, it will not work as expected, since the source language of your website will be already changed and GTranslate main language selection will conflict with it.
However if you change the Joomla language after GTranslate have done it's job, then most likely you will be fine.
I have mentioned that you can write a system plugin which will use glang session variable set by GTranslate and change the Joomla language.
If you can find a developer who can create a plugin for you, we can provide technical support to make it done for you.
Re: Change Joomla's language
Feb 7, 2012 12:38 pm by ione
Feb 7, 2012 12:38 pm by ione
Ok,
I could try change the Joomla language after GTranslate.
I have advanced knowledge of php and xml, but Joomla, my skills are basic. If you could give me some basic notions of how to do it, I would be grateful. Would that be possible?
Thanks.
Re: Change Joomla's language
Feb 8, 2012 11:07 pm by Edvard
Feb 8, 2012 11:07 pm by Edvard
Hi,
In that case you could learn more about Joomla plugins and how to write them. And learn little Joomla API to know Joomla internals. You can find all the info from http://docs.joomla.org/
You will need to create another simple plugin which will just change the Joomla language after GTranslate plugin have done it's job. Probably you will need also to read the extension code for which you are going to change the language of Joomla.
SIMILAR TOPICS
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
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 |