Hi,
You can send it via mail to themegrill@gmail.com and we will add the fix in our next version update.
Thanks.
translations for the search form lacking context, and thus not displayed
Can you please explain because I am trying to get search translation to work for a while, without success.
Translations displayed via the _x function require a context to be specified (which was done correctly in the file), but the .po file was lacking that context information, so the translation, while present, was not correctly found and displayed.
I think it is necessary to manually edit the .po file to add the context line, as I know no way to add it in Poedit.
Can you please paste here lines of code you modified so I can see what you are talking about. I can edit the file with kate, or any other text editor.
Thanx
Here it is :
in the searchform.php, for exemple you call this translation :
esc_attr_x( 'Search …', 'placeholder', 'radiate' );
The second attribute («placeholder») is the context, therefore, your translation must specify this context for a match to be found.
Currently your .pot file has :
#: ../searchform.php:13
msgid "Search …"
msgstr ""
You should make it :
#: ../searchform.php:13
msgctxt "placeholder"
msgid "Search …"
msgstr "Rechercher …"
In order for it to work, as is done in the fr_FR.po file i sent.
You will probably have to manually edit your .pot file, which can be done with any text editor (notepad++ is a nice one though), or regenerate it from the sources.
Anyway, you will have to use PoEdit in the end in order to generate the .mo files, which are the ones the theme really use.
Poedit is free, and (though it may not be as intuitive as one might like) works very well : http://www.poedit.net/
Unfortunately, I will eventually not use this theme for that project, so I won’t be able to help you with future issues.
Erratum :
In the second portion of code, the translation must be removed if it is for the .pot file (I copied it from my french .po)
Etvoilaletravail,
Thank you very much.