Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
where is the date lang file?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: where is the date lang file? (Read 30682 times)
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: where is the date lang file?
«
Reply #15 on:
March 15, 2007, 20:44:33 »
well, this shurely is a nice appendix to the script I already used...
thnx
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: where is the date lang file?
«
Reply #16 on:
March 15, 2007, 21:31:57 »
Hi, datahell
Here is the result of my investigation on serbian latin locale: bs_BA.UTF-8. Believe it or not, I had to put bosnian serbian as the language to get latin UTF-8!!!!
cheers
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: where is the date lang file?
«
Reply #17 on:
March 16, 2007, 01:25:30 »
Oh, it's me again...
It seems that locale for bosnian serbian is not what I was looking for!!! It's just another dialect of serbian, but obvious at some weekdays (Monday, Thursday...), so I must digg even some more. But, it's as you said: There could not be 2 locales for one country... but then, it's Serbia we're talking about! This is kind of wonderland.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
datahell
Elxis Team
Hero Member
Posts: 10356
Re: where is the date lang file?
«
Reply #18 on:
March 16, 2007, 18:04:34 »
If it is difficult for you to find the proper locale for your language for us it will be imposible! There is also another issue that affects other languages also. The name for the serbian latin language can not contain the word "serbian"! Elxis language system supposes that each language name is unique and distinct. If you have 2 languages ie serbian and serbian_lat then when you filter content by language Elxis search for content items like this:
WHERE language LIKE %$lang% OR language IS NULL
The NULL value returns items that are available for all languages.
The first part of the query above searches the language column for matches of the $lang variable. So if a user has selected "serbian" language Elxis will return him results for both the "serbian" and the "serbian_lat" language. Thats why in the next release we will perform renaming to some problematic language like serbian (serbian_cyr / serbian_lat), spanish (spanish_mexico will become mexican), etc.
«
Last Edit: March 16, 2007, 18:06:15 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: where is the date lang file?
«
Reply #19 on:
March 16, 2007, 18:27:22 »
Well... seems pretty discouraging. I've already posted topic on rewritting mosCurrentDate. As for DB related problem, I couldn't think of anything else but renaming laguages to: sr_lat and sr_cyr. I think this would solve it. Since I'm awaiting just for that approval for serbian latin lingo to put my personal site online, and I need the solution fast, would you be so kind to read my topic about rewritting mos CurrentDate? I always hated enormous hacking to get joomla! to work with unicode, and it would be my last solution to go back to joomla!
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Print
Pages:
1
[
2
]
« previous
next »
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
where is the date lang file?