Hi Guys,
I don’t really understand the process. Not working for me.
I’ve added the custom string into the POT file, then generated the PO / MO file uploaded in the PLUGINS ROOT and also POT and PO and MO in the translation folder as it was not working…
#: custom
msgctxt "s2member-front"
msgid "Country"
msgstr "Pays"
when I open the POTin POEDIT, I have an error on the string.
how do you determine #: custom ??
as in the POT file it’s always very precise on where the string is located
like #: s2member/includes/classes/custom-reg-fields.inc.php:328
what will be the right location #: for the custom fields ?
function.php code described in the topic was added also.
and codestyling once scanned again the PO file… doesn’t show the new string.
+ It’s not changing anything in the PROFILE PAGE.
I’m using qtranslate and I have a lot of custom files.
Why can’t we use the languages shortcodes in the fields ???
Like
[:en]Country[:fr]Pays
or
<!--:en-->Country<!--:--><!--:fr-->Pays<!--:-->
Anyone can help to use languages shortcodes for qttranslate or the solution described in the topic ?
Thank you.