Page 1 of 1

Days of the week

Posted: Wed Apr 18, 2007 10:22 pm
by colinstevens
Hi All - we are busy translating our school website into Welsh - and have been using the Welsh translation pack... however, we have noticed a few things that don't seem to be translating correctly - like the days of the week in stories - is there an updated cymreag.zip - or can someone give us some pointers as to what files we need to edit!?

Thanks,

Colin

Re: Days of the week

Posted: Thu Apr 19, 2007 7:25 am
by Geraint
Mae'n debyg fod y 'locale' heb ei osod yn gywir.

Its probably that your locale is not set correctly

Geraint

Re: Days of the week

Posted: Fri Apr 20, 2007 1:04 pm
by colinstevens
Hi Geraint - in the cymraeg.php posted "October 19, 2005" in the Croeso/Welcome thread - there doesn't seem to be any days of the week defined... is there an updated file we can use?

Thanks,

Colin

Re: Days of the week

Posted: Fri Apr 20, 2007 9:13 pm
by Geraint
Can you give me an example of where the translation is not occuring (ideally a partial screenshot).  A lot of date in Joomla are translated by PHP using the locale set for the server and not via translation strings in the language file.

Geraint

Re: Days of the week

Posted: Sat Apr 21, 2007 5:18 pm
by colinstevens
Hi Geraint, attached is a screenshot of the problem - the translation has come thought fine but not the date:

Re: Days of the week

Posted: Sun Apr 22, 2007 10:28 am
by Geraint
Colin

This date is translated by PHP using the locale - if you're using Joomfish you need to set the appropriate ISO code for Cymraeg and your webserver OS.

For Windows I use "cym" for Linux I use "cy_GB" or "cy" depending on the server.

Geraint

Re: Days of the week

Posted: Sun Apr 22, 2007 11:58 am
by colinstevens
Hi Geraint - we use a Windows 2000 webserver - but I have searched around and cannot find a Welsh language download for 2000 only XP, 2003 and Vista - have you or anyone else tried it on a 2000 server before?

We are getting a new server in a few months so might have to try again then  :(

Thanks,

Colin

Re: Days of the week

Posted: Sun Apr 22, 2007 2:19 pm
by Geraint
What ISO codes have you tried so far?  What locales are available on the server?

If you install JEvents (which I am the lead developer on) from http://joomlacode.org/gf/project/jevents you'll find a useful tool in the admin interface for experimenting with locale values.

http://{YOUR DOMAIN}/administrator/index2.php?option=com_events&task=checklocale

Geraint

Re: Days of the week

Posted: Sun Apr 22, 2007 7:28 pm
by colinstevens
The only installed locale is English (UK), and I have tried CY and CYM - both times site gets translated but not the days. Will have a look at JEvents....

It looks to me like the problem is a lack of Welsh language pack on the server...

Thanks,

Colin