1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Translating wordpress?

Discussion in 'Blogging' started by Hellfire, Feb 26, 2010.

  1. Hellfire

    Hellfire Regular Member

    Joined:
    Jun 27, 2009
    Messages:
    241
    Likes Received:
    150
    Occupation:
    Student
    Location:
    Norway
    Hello, right now I'm actually making a personal blog. And as I'm not English, nor a native English speaker my blog is in Norwegian.
    Anywho, I wondered if you can make it stand "0 kommentarer" instead of "0 comments" beneath the blog post. Kommentarer is Norwegian for comments btw, now you know :p

    Thanks, Hellfire.
     
  2. dapapst

    dapapst Newbie

    Joined:
    Feb 1, 2010
    Messages:
    17
    Likes Received:
    1
    Its easy :)
    Use FTP to go to wordpressinstallationfolder/wp-content/Themes/YourUsedTheme/index.php and single.php

    Search there for Comments and change it to whatever you want.

    GZ David
     
    • Thanks Thanks x 1
  3. Hellfire

    Hellfire Regular Member

    Joined:
    Jun 27, 2009
    Messages:
    241
    Likes Received:
    150
    Occupation:
    Student
    Location:
    Norway
    Thanks!
    Will try it now :3
     
  4. razohad

    razohad Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 11, 2008
    Messages:
    701
    Likes Received:
    1,005
    Occupation:
    Software engginer
    Location:
    online most of the time
    There are two ways you can do that:

    1. edit the theme files: index.php , post.php, archive.php and any other file that contains the line
    PHP:
    'No Comments Â»''1 Comment Â»''% Comments Â»
    and chane it to :
    PHP:
    'No Kommentarer  Â»''1 Kommentarer  Â»''% Kommentarer  Â»
    and that is the easy way!!

    2. THe second way to do that is to translate the WP core files
    and you can read all about it in the wp codex docs Translating WordPress


    hope this helps.
     
    • Thanks Thanks x 1
  5. Hellfire

    Hellfire Regular Member

    Joined:
    Jun 27, 2009
    Messages:
    241
    Likes Received:
    150
    Occupation:
    Student
    Location:
    Norway
    It wasn't that easy, Thesis doesn't use a regular index.php, I forgot to mention that I use thesis. Thanks for your help and the link. I have some reading to do. :)