Elxis CMS Forum

Extensions => Modules => Topic started by: maple on February 23, 2010, 22:28:50

Title: eBlog Calendar module
Post 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

Title: Re: eBlog Calendar
Post by: webgift on February 24, 2010, 09:41:38
Can you give us a link ?
Title: Re: eBlog Calendar
Post by: maple on February 24, 2010, 12:38:46
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...
Title: Re: eBlog Calendar
Post by: maple on February 24, 2010, 13:16:51

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.

Title: Re: eBlog Calendar
Post by: maple on February 24, 2010, 23:22:57

Anyone have a solution for this?

Thanks
Title: Re: eBlog Calendar
Post by: rentasite on February 25, 2010, 11:31:17

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?
Title: Re: eBlog Calendar
Post by: maple on February 25, 2010, 11:49:12

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]
Title: Re: eBlog Calendar
Post by: maple on February 27, 2010, 01:53:57
any idea?
Title: Re: eBlog Calendar
Post by: Ivan Trebješanin on February 27, 2010, 10:33:01
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.
Title: Re: eBlog Calendar
Post by: maple on February 28, 2010, 13:19:14
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...
Title: Re: eBlog Calendar module
Post by: Ivan Trebješanin on February 28, 2010, 20:36:05
If you want, give me some of us your FTP access and we'll fix it.
Title: Re: eBlog Calendar module
Post by: maple on March 07, 2010, 23:08:42
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...
Title: Re: eBlog Calendar module
Post by: maple on March 16, 2010, 14:08:47
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