2 Things: Translation & Responsive Bug

Discussion in 'GeoCraft WordPress Theme' started by duri_90, Jul 12, 2013.

  1. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Hello :)

    First of all, I'm very happy with your theme.
    I'd like to know/report two things:

    1. Translation
    I'm a bit new to this so maybe i did it wrong. I took the default.po File from the theme and put it into "poedit".
    I translated some words, saved it and i got the new po file and a mo file.
    I uploaded both files and replaced with the old ones.
    Nothing happens - the labels are still in English.

    2. Responsive Bug
    I'm using Google Chrome (27.0) and if you come to the media query
    @media only screen and (max-width: 960px) and (min-width: 768px)
    There is a large space between carousel and recent listings. It doesn't work that way it should there.
    There is something wrong with the slider inside this media query. Problem appears also for example on your live preview site. It would be great if you take a look at this and provide a fix :)
    Any idea?

    Thanks a bunch :)

    EDIT: I've got another question:

    3. Count Entries in Category
    Is it possible to show the count of entries next to the category link (sidebar)? If so, could you provide the snippet or give me a hint? :) Thanks again!
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    1) For po file translation please visit link given below.
    http://www.inkthemes.com/how-to-cre...-of-wordpress-theme-in-multiple-languages/02/
    You are doing every thing correct but at the end not providing po file address to the config.php file. Check last image in the link given above.

    2) Responsive.
    You are checking while re sizing the browser that's why sometime this issue is occurring. Just refresh browser when this issue occur.
    And if you check site with the device of same resolution then it will work fine.
     
  3. duri_90

    duri_90 New Member

    Joined:
    Jul 10, 2013
    Messages:
    23
    Likes Received:
    3
    Thanks for the fast response Nitesh :)

    I followed the instructions on the tutorial site but nothing happens.
    I did following: Go to geocrafttheme/lang and renamed default mo, po and pot to "de_DE" for Germany and did some changes via poedit, exactly as shown in the documentation.
    Then i went to root wordpress folder, opened wp-config.php and searched for WPLANG - but it was already de_DE because i use german wordpress. Don't know what is woring :/

    What do you think about Point 3. above?

    Thanks for your help :)
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Go to the lang directory
    Copy .po file paste it at the desktop,
    Open it with the help of poedit,
    Make changes and save (Ctrl+s) it,
    After saving you will get two files po and mo,
    Cut both files and replace them with the existing po, mo files in the lang directory.
    Make conform that po file name and WPLANG name are same.

    It will work :) .
     

Share This Page