Translation
-
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
Quote:But should this not be in the file file da_DK.po?Yes. Have you installed WordPress and Graphene in Danish already?
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):
The “1 comment” you find in the bottom.
Admin
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.
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
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.
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
When you’re done, post back here and we’ll let you know the email address to send the translation to. Thanks!
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!!!
Viewing 10 posts - 1 through 10 (of 12 total)
- 1
- 2
- You must be logged in to reply to this topic.
