• Hi!

    I made an extensive search, but didn’t find the desired answer, so I’m asking here.

    I’m using WordPress 1.2.2.

    How can I change the language of the calendar, so that “February” would be “Februar”, “March” would be “Marec” and that days “S M T W T F S” would be “N P T S C P S”?

    I searched through code of all WordPress files, but didn’t find where are “defined” months and days so that I could change them to suit my language (slovenian).

    As I managed to change the code in index.php, wp-comments.php and other relevant files so that the inscriptions on my webpage are in slovenian, it frustrates me that I can’t localize the calendar.

    And I also wasn’t able to change the word “Links” to “Povezave” or to delete the word “Links” so that there would be no word.

    I would really appreciate if someone can help me.

    Best wishes,

    Aljaz

    http://www.aljazmarn.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Probably the best way to do this is to use a localization file for your language:

    http://wiki.wordpress.org/WordPressLocalization

    Otherwise, for calendar/archive info, you can edit the wp-includes/locale.php file. “Links” is probably just a list header for the links list in your index.php template, and can be edited there.

    Thread Starter aljazmarncom

    (@aljazmarncom)

    I figured out how to change months/days… they are written in the “locale.php” file (wp-includes/locale.php).

    But I’m not able to change “Links”. It is not header “Links” in the index.php file. The relevant code is:

    <div id=”menu”>

      <?php get_links_list(); ?>
      <li id=”categories”><?php _e(‘Categories:’); ?>
      <?php wp_list_cats(); ?>

    […]

    Any other idea where to change “Links” to other word?

    Any chance you have a link category called “Links”?

    Thread Starter aljazmarncom

    (@aljazmarncom)

    Yes, I had a link category called “Links”; now I changed it to the desired “Povezave” and it works.

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change the language of calendar and “Links”’ is closed to new replies.