Hi guys,
I found a bug probably. Months in Calendar are not translated if another language is used - altraought I translatd month names in language file it still says english January, February etc.... Can somebody else post here if you have same experience ?
|
Can't confirm this, months are translated to my language and working. Kids first |
hmmm is it following files in main lang file is it ? If yes than I translated correct files and have no explanation why it work on your side and not on mine... Does somebody have an idea what can be wrong ?
'_January' => 'Leden',
'_February' => 'Únor',
'_March' => 'Březen',
'_April' => 'Duben',
'_May' => 'Květen',
'_June' => 'Červen',
'_July' => 'Červenec',
'_August' => 'Srpen',
'_September' => 'Září',
'_October' => 'Říjen',
'_November' => 'Listopad',
'_December' => 'Prosinec',
'_About Us' => 'O Nás',
'_Activate account' => 'Aktivovat účet',
|
How are you transulating?
You should not be changing language files. You should be doing this in admin -> Language Settings
Try one. Go to manage Keys. Enter _January in the Look for box. Click apply and edit the one that show up for _January.
https://www.deanbassett.com |
How are you transulating?
You should not be changing language files. You should be doing this in admin -> Language Settings
Try one. Go to manage Keys. Enter _January in the Look for box. Click apply and edit the one that show up for _January.
He could always do it right in the DB via phpMyAdmin. That would be a way to make his changes take effect for sure.
|
Im translating In I think usual way. I exported english language file in language setting in admin, than I changed header to coutry code cz, cz flag and language name. Than I translated whole file, saved and imported language again in admin language setting, compiled language and make it default. I tired now find string _january in language setting - it comes out with "_day_of_1 (System)" - I edited this and put my language string , saved, cleaned cache, tested in site .... no difference - still english... Can more of you guys really confirm gere u really see your own language names of months is calendar view ? |
Your search should have brought back 2 results:
_January
_day_of_1
If you dont see the _January then simply click Add key and enter then following:
Key Name: _January
Category: System
String text for English Language: Leden
Click Save, clear cache and try again. You can also hold down the SHIFT KEY while you click the refresh button in your browser. See if that works.
Chris
Nothing to see here |
Rules → http://www.boonex.com/terms |
Your search should have brought back 2 results:
_January
_day_of_1
If you dont see the _January then simply click Add key and enter then following:
Key Name: _January
Category: System
String text for English Language: Leden
Click Save, clear cache and try again. You can also hold down the SHIFT KEY while you click the refresh button in your browser. See if that works.
Chris
i got keys like this
_January - Janeiro
_February - Fevereiro
.......
and stil only can see the months in english language
in my site
im using trunk-14624
:(
|
Months names are translated using build-in php functions according to your locale settings, please make sure that the language code is correct locale name and make sure that this locale is supported by your server OS.
Your search should have brought back 2 results:
_January
_day_of_1
If you dont see the _January then simply click Add key and enter then following:
Key Name: _January
Category: System
String text for English Language: Leden
Click Save, clear cache and try again. You can also hold down the SHIFT KEY while you click the refresh button in your browser. See if that works.
Chris
i got keys like this
_January - Janeiro
_February - Fevereiro
.......
and stil only can see the months in english language
in my site
im using trunk-14624
:(
Rules → http://www.boonex.com/terms |
i have this should it be "pt-br" instead of "br" ??
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<?php $aLangInfo=array ( 'Name' => 'br', 'Flag' => 'br', 'Title' => 'Portugues', ); $aLangContent=array ( '_{0} votes' => '{0} votos', '_add' => 'adicionar', '_bottom_text' => '2002-{0}. Product of <a class="bottom_text" href="http://www.boonex.com/">BoonEx Group</a>.', '_copyright' => 'Copyright © {0} 2Intenções.', '_January' => 'Janeiro', '_February' => 'Fevereiro', '_March' => 'Março', '_April' => 'Abril', '_May' => 'Maio', '_June' => 'Junho', '_July' => 'Julho', '_August' => 'Agosto', '_September' => 'Setembro', '_October' => 'Outubro', '_November' => 'Novembro', '_December' => 'Dezembro', '_About Us' => 'Sobre nós',
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
br is not a valid language code that i am aware of.
Try either pt-br for Portuguese (Brazil)
or just pt for Portuguese (Portugal
You also need to contact your host. The server must be setup to also support that langauge as well. If that language set is not installed on the server than the php date functions will not properly translate various dates.
https://www.deanbassett.com |
Thanks
deano92964
e changed to pt-br
and it worked 100% here
Thanks
|