• How do i change the text/language on the date on the front page?
    Look here to see what i mean:
    http://golfsiden.net
    The page is in Norwegian, but the date are in english…
    How do i change that? I have manualy changed the language on the rest og the page, but i dont know where to change the date… wich file should i change? And where/what in the code?

    Thank you so much for answers….
    (Sorry for my bad english, i hope you understand it anyway…)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Look into your theme (blix?) folder in the index.php file.
    Find the line with the date/time – it is probably something like
    the_time (XXXX)
    Change what is in brackets – XXXX – according to the http://php.net/date

    Thread Starter fredarn2

    (@fredarn2)

    I dont find anything on php.net/date that shows what i should add there to get norwegian language on the date..
    help!

    What is the norwegian date?
    dd.mm.yyyy? = 04.01.2006
    or…?

    Thread Starter fredarn2

    (@fredarn2)

    Here is the line:
    <?php the_time(‘M j, \’y’) ?><!–, <?php the_time(‘h:ia’) ?>–>

    What should i change? I dont mean to change the date in any way, but the date language/text,so it dont says january, but januar wich is the norwegian word for january.

    No, it won’t change it if you use words for the months. If you do not use a translated version of WP you can do this:

    <?php the_time('d.m.Y.') ?>
    and that will give you a more or less “European” date:
    for example: 05.01.2006. for today.

    The changes have to be done in index.php and any other file that has a date. If there is a post.php there, too.

    If you don’t use a localized version of WP but you want to display the month names – edit the wp-includes/locale.php and translate the month names.

    Thread Starter fredarn2

    (@fredarn2)

    Thanks, i have now changed the month and days, but it still says “5th”, in norway we write just write 5. or with text (femtende), how do i change “5th” to “5.”?

    Thank you so much for helping me 🙂

    I am afraid you are making the changes in the wrong file or wrong place.
    I am not familiar with that theme you are using, so I cannot tell exactly where to change it.

    Thread Starter fredarn2

    (@fredarn2)

    Thank you for all the help, i made it now 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Language problem in template! HELP!’ is closed to new replies.