• Hi Guys
    I am working on l10n of WP for Hindi. I am running across an issue on the rendering of Calendar on the blog’s index page. I guess the present logic is to pick the first letter of Days like S for Sunday. IMHO this would fail for languages like Hindi which are based on double byte characters. I guess if we can have something like Sun, Mon, Tues, or even for that matter S, M, T, W in the .pot file these can be transtlated to corresponding names in the target language.
    Thanks and keep up the good work. I will upload hi.po once it is finished.
    Pankaj

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter pankaj

    (@pankaj)

    Forgot, You can check the partial Hindi WP at
    https://pnarula.com/wpd/

    Wow, that is really cool.

    sweet ??

    how do u learn to speak such funky hindi! ??
    my hindi is corrupt with english words… ??

    I dunno how I started writing and speaking like this. Must have picked up from BayArea(https://www.bayarea.com) since there are so much native Hindi speakers around ??
    BTW no one replied back to my original post.
    Pankaj

    Thread Starter pankaj

    (@pankaj)

    Me Again
    It would be great if someone can make get_calendar function in template-functions-general.php i18n. Then I can work my l10n magic on it. Think think this is the relavant code

    echo '<table id="wp-calendar">
    <caption>' . $month[zeroise($thismonth, 2)] . ' ' . date('Y', $unixmonth) . '</caption>
    <thead>
    <tr>';
    foreach ($weekday as $wd) {
    echo "\n\t\t<th abbr=\"$wd\" scope=\"col\" title=\"$wd\">" . substr($wd, 0, $daylength) . '</th>';
    }
    echo '
    </tr>
    </thead>
    <tfoot>
    <tr>';

    It would be great if this could be done before 1.2 beta is out. Which I think might be any time now ??
    Pankaj

    pankaj, maybe you can try posting this in the new i18n l10n thread that rboren created to get the devs’ attention.
    I think it’s a valiant effort, but some of the compound letters appear broken in my browser. Must be a browser problem though, I guess.

    Pankaj, that code takes the first letter from the day names. What would be the l10n equivilent?

    Pankaj
    This is anjan. You have to teachme poedit itself. I can’t see those translated charcters correctly. What to do. Couldn’t find utf-8 or hindi or devnagri option.Where to look for.

    Thread Starter pankaj

    (@pankaj)

    I have taken this to the following thread as suggested
    https://www.ads-software.com/support/6/4541/
    Pankaj

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Hindi Calendar Support’ is closed to new replies.