latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Natasha Bernal

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Translation of Custom Registration Fields

By:  Cord in: Translations

voices: 5
replies: 9

3 years, 9 months ago  Natasha Bernal

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Sunday Mar 24th, 2013 at 12:08 pm #45593

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.

Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.