Elxis CMS Forum
Extensions => Modules => Topic started by: maple on February 23, 2010, 22:28:50
-
Hello,
eBlog Calendar table front-end language doesn't work, remains in english.
Any idea?
Thanks
-
Can you give us a link ?
-
Can you give us a link ?
Oh, sorry, the site it's offline. But simply that when I change from english to spanish, the table eblog calendar remains in english ( February 2010, Jan, Feb... an so on) instead of (Febrero 2010 , Ene, Feb...).
The Doctor Cloud and the eBlog Archive, change correctly from a language to another one...
-
Ok, I just find the error. So, I rename the spanish.php general file /language/spanish for the following
castellano.php into /language/castellano (not into eblog calendar language files, this is general language files) and that's the problem... If I revert this, to spanish.php, works fine.
So, the eBlog Calendar code can take from spanish.php but not from the castellano.php, and there're the same code inside both files.
Note that "castellano" it's been used instead of "spanish", wanna delete the spanish.
I've the same problem if I add another general language.
All the site works fine with castellano.php except the eblog calendar, for now.
-
Anyone have a solution for this?
Thanks
-
I can't really understand what you're writing.
Just one note: Eblog component has a folder named language /components/com_eblog/language/
Have you managed those language files in there?
-
I can't really understand what you're writing.
Just one note: Eblog component has a folder named language /components/com_eblog/language/
Have you managed those language files in there?
I just attached an screenshot. This is eBlog Calendar module, well, when I change to another language this table remains in english, that's the problem.
This problem appear when I add a new language into general front-end language.
In this new language I add the following, like the others languages have:
define('_JAN','Enero');
define('_FEB','Febrero');
define('_MAR','Marzo');
define('_APR','Abril');
define('_MAY','Mayo');
define('_JUN','Junio');
define('_JUL','Julio');
define('_AUG','Agosto');
define('_SEP','Septiembre');
define('_OCT','Octubre');
define('_NOV','Noviembre');
define('_DEC','Diciembre');
But doesn't work... however the eBlog Archive and the DoctorCloud works fine, changing the language well.
[attachment deleted by admin]
-
any idea?
-
supernet just told you before: components, modules, etc. have /language folder.
If there is no YourLanguage.php, you must create it, and translate strings.
eg. /components/SomeComponent/language/SomeLanguage.php
So, it is very simple: component, module, etc. will look if there is language file matching currently selected language. If there is not, English will be used.
-
supernet just told you before: components, modules, etc. have /language folder.
If there is no YourLanguage.php, you must create it, and translate strings.
eg. /components/SomeComponent/language/SomeLanguage.php
So, it is very simple: component, module, etc. will look if there is language file matching currently selected language. If there is not, English will be used.
Thanks for your response. So, I checked last week this solutions, but doesn't work. I have the new language into module eblog calendar languages, also have the new language into the eblog component and also into the general front-end languages, but doesn't work...
-
If you want, give me some of us your FTP access and we'll fix it.
-
If you want, give me some of us your FTP access and we'll fix it.
Oh, sorry, I'm working with an offline site...
-
Ok, so... I just changed the following:
into Administrator panel>Global Configuration>Locale>Country locale >> Auto Select
by this way, the eblog calendar months doesn't change.
but if I change to for example to ca_ES.utf8 then change correctly to Catalan language.
Catalan it's a new language that I just added into front-end.
Then, it seem that the auto selection doesn't work?
What can I do?
Thanks