Translation

  • KingSwiff

    #9507

    Hi all.

    When I am making a search, the result-bar in the the top is english:

    Found X search results for keyword: XXXX

    Where can I translate this to danish?

    I found this in the file search.php:

    printf( _n( 'Found %1$s search result for keyword: %2$s',
    'Found %1$s search results for keyword: %2$s', $wp_query->found_posts, 'graphene'),

    But should this not be in the file file da_DK.po?

    Please let me know if “I am talking black” 🙂

    Thank you.

    Mod

    Kenneth John Odle

    #43779
    Quote:
    But should this not be in the file file da_DK.po?

    Yes. Have you installed WordPress and Graphene in Danish already?

    KingSwiff

    #43780

    Yes, most of the theme is danish, also the admin-page.

    The search result is english and also “1 comment”. You can see it here (just a test site so fare):

    http://test.bedste-test.dk

    The “1 comment” you find in the bottom.

    Admin

    Syahir Hakim

    #43781

    See this page under the “Editing existing translation” section:

    http://docs.graphene-theme.com/Translating_the_theme

    Feel free to send the updated language files to us so that we can include it in the next theme update.

    KingSwiff

    #43782

    Hi Syahir.

    I have downloaded POEdit and been through the po-file, and the guy who have made the translation, have done a great work! And I don’t find any non-translated in the file.

    Can there been changes that’s not in the danish po-file?

    Is there a way to combine the po-file and the pot-fil? So if something is missing in the po-file, I can find it that way?

    Admin

    Syahir Hakim

    #43783

    You need to update the Danish translation file with the latest graphene.pot file so that any new strings will be added to the Danish translation file. In the link I provided above under the “Editing existing translation” section, it tells you how to update existing translation to include the new strings. Just follow through the instructions and you should be able to get the Danish translation updated.

    KingSwiff

    #43784

    Okay, now I got it.

    I had this message:

    Sorry, but you don’t have the necessary permission to modify theme options.

    I thought it was for me, but it was the first translation LOL so I was confused 🙂

    There is a lot of mismatch and not translated, I see now, so it will take a while. Where do I send the new po-fil?

    Admin

    Syahir Hakim

    #43785

    When you’re done, post back here and we’ll let you know the email address to send the translation to. Thanks!

    DareDevil

    #43786

    Hi, I translated it into italian too.

    printf( _n( ‘Trovati %1$s risultati per la ricerca: %2$s’,

    ‘Trovati %1$s risultati per la ricerca: %2$s’, $wp_query->found_posts, ‘graphene’),

    number_format_i18n( $wp_query->found_posts ),

    ‘<span>’ . get_search_query() . ‘</span>’

    );

    Could you add it to the official template in order to implement a fully functional language switcher?

    Thak you!!!

    KingSwiff

    #43787

    Okay Syahir.

    When you got the e-mail to send to, I got the file 🙂

    When do you expect the update will come?

    Best regards

    Henrik Wahlqvist

    Admin

    Syahir Hakim

    #43788

    I’ve emailed you both 🙂

    KingSwiff

    #43789

    Super, then we can close the topic.

    Closed 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.