Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Translating the Calendar Module


Go to End
Reply


11 Posts   2814 Views

Avatar
Nivanka

Community Member, 395 Posts

22 January 2009 at 7:57am

Edited: 22/01/2009 8:05am

I worked on this, and managed to finish the translations today.

If anyone would like to contribute by translating please refer to the code bellow, and do the translation. the code below is the Sinhala translation of the module my native language ;)

<?php

/**
* Sinhalese (Sri Lanka) language pack
* @package calendar
*/

$lang['si_LK']['CalendarHolder']['JAN'] = 'ජන';
$lang['si_LK']['CalendarHolder']['FEB'] = 'පෙබ';
$lang['si_LK']['CalendarHolder']['MAR'] = 'මාර්';
$lang['si_LK']['CalendarHolder']['APR'] = 'අප්';
$lang['si_LK']['CalendarHolder']['MAY'] = 'මැයි';
$lang['si_LK']['CalendarHolder']['JUN'] = 'ජුනි';
$lang['si_LK']['CalendarHolder']['JUL'] = 'ජූලි';
$lang['si_LK']['CalendarHolder']['AUG'] = 'අගෝ';
$lang['si_LK']['CalendarHolder']['SEP'] = 'සැප්';
$lang['si_LK']['CalendarHolder']['OCT'] = 'ඹක්';
$lang['si_LK']['CalendarHolder']['NOV'] = 'නොවෙ';
$lang['si_LK']['CalendarHolder']['DEC'] = 'දෙසැ';

$lang['si_LK']['CalendarHolder']['SUN'] = 'සදු';
$lang['si_LK']['CalendarHolder']['MON'] = 'සදු';
$lang['si_LK']['CalendarHolder']['TUE'] = 'අග';
$lang['si_LK']['CalendarHolder']['WED'] = 'බුද';
$lang['si_LK']['CalendarHolder']['THU'] = 'බ්රහස්';
$lang['si_LK']['CalendarHolder']['FRI'] = 'සිකු';
$lang['si_LK']['CalendarHolder']['SAT'] = 'සෙන';

$lang['si_LK']['CalendarHolder']['JANUARY'] = 'ජනවාරි';
$lang['si_LK']['CalendarHolder']['FEBRUARY'] = 'පෙබරවාරි';
$lang['si_LK']['CalendarHolder']['MARCH'] = 'මාර්තු';
$lang['si_LK']['CalendarHolder']['APRIL'] = 'අප්රේල්';
$lang['si_LK']['CalendarHolder']['MAY'] = 'මැයි';
$lang['si_LK']['CalendarHolder']['JUNE'] = 'ජුනි';
$lang['si_LK']['CalendarHolder']['JULY'] = 'ජූලි';
$lang['si_LK']['CalendarHolder']['AUGUST'] = 'අගෝස්තු';
$lang['si_LK']['CalendarHolder']['SEPTEMBER'] = 'සැප්තැම්බර්';
$lang['si_LK']['CalendarHolder']['OCTOBER'] = 'ඹක්තෝබර්';
$lang['si_LK']['CalendarHolder']['NOVEMBER'] = 'නොවැම්බර්';
$lang['si_LK']['CalendarHolder']['DECEMBER'] = 'දෙසැම්බර්';

$lang['si_LK']['CalendarHolder']['NEXT'] = 'ඊලග';
$lang['si_LK']['CalendarHolder']['PRE'] = 'ගිය';

?>

I will post the module soon after some last tests.

Avatar
Ingo

Forum Moderator, 801 Posts

25 January 2009 at 9:06pm

Hey Nivanka, looks like the forum chokes a bit on the special characters in your translation (or is it just my browser?).
I'd suggest using translate.silverstripe.com for your module, feel free to submit a language file there (you can update it as required).

Avatar
Nivanka

Community Member, 395 Posts

26 January 2009 at 2:06am

Edited: 26/01/2009 2:06am

Hi Ingo,

I think this happens because you have not got the correct unicode set installed.

Anyway Here are the words which need to be translated.

JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
DEC

SUN
MON
TUE
WED
THU
FRI
SAT

JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
DECEMBER

NEXT
PRE

I will add the language file to the translate.silverstripe.com soon after I get the new version on the module directory.

Avatar
pmnordkvist

Community Member, 2 Posts

26 January 2009 at 6:13am

Hi, I've attached the swedish calendar translation. Enjoy.

Attached Files
Avatar
Nivanka

Community Member, 395 Posts

26 January 2009 at 6:52am

Nice one pmnordkvist,

I will add it to the module. Thanks for the good work

Avatar
petsta

Community Member, 2 Posts

10 February 2009 at 10:58pm

Here is the german translation.
Tested it on local installation works fine.

Peter

Avatar
Nivanka

Community Member, 395 Posts

11 February 2009 at 1:53am

Hi Peter,

Thanks for the god work. I will add this to the module and post it again soon. Keep it up.

Avatar
Jurgen Jessurun

Community Member, 9 Posts

12 February 2009 at 10:52am

Edited: 12/02/2009 11:32am

I've attached the dutch calendar translation. Enjoy.

Go to Top