Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Translating the Calendar Module

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2644 Views
  • Nivanka
    Avatar
    Community Member
    395 Posts

    Translating the Calendar Module Link to this post

    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.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Translating the Calendar Module Link to this post

    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).

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Translating the Calendar Module Link to this post

    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.

  • pmnordkvist
    Avatar
    Community Member
    2 Posts

    Re: Translating the Calendar Module Link to this post

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

    Attached Files
  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Translating the Calendar Module Link to this post

    Nice one pmnordkvist,

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

  • petsta
    Avatar
    Community Member
    2 Posts

    Re: Translating the Calendar Module Link to this post

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

    Peter

    Attached Files
  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Translating the Calendar Module Link to this post

    Hi Peter,

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

  • Jurgen Jessurun
    Avatar
    Community Member
    9 Posts

    Re: Translating the Calendar Module Link to this post

    I've attached the dutch calendar translation. Enjoy.

    Attached Files
    2644 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.