How to change the language of calendar and "Links" (5 posts)

  1. aljazmarncom
    Posted 11 years ago #


    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,



  2. Kafkaesqui

    Posted 11 years ago #

    Probably the best way to do this is to use a localization file for your language:


    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.

  3. aljazmarncom
    Posted 11 years ago #

    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?

  4. Kafkaesqui

    Posted 11 years ago #

    Any chance you have a link category called "Links"?

  5. aljazmarncom
    Posted 11 years ago #

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

    Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.