Quick links: Content - sections - sub sections
EN

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:tutorials:plugins:coord:autolocale [2012/01/30 21:00] – [Jelix and your portal in the user's language] foxmasken:tutorials:plugins:coord:autolocale [2012/01/30 21:01] foxmask
Line 29: Line 29:
 </code> </code>
  
-The trick here, is to put **$gJConfig->locale = $form->getData('member_language');** before the  **jMessage::add** , so the message which come just after, will be translated immediatly in the choosen language, otherwise, +The trick here, is to put **$gJConfig->locale = $form->getData('member_language');** before the  **jMessage::add** , so the message which comes just after, will be translated immediatly in the choosen language, otherwise, 
    this one will appear again in the language previously choosen  or the language of the portal    this one will appear again in the language previously choosen  or the language of the portal
  

en/tutorials/plugins/coord/autolocale.txt · Last modified: 2012/01/31 10:34 by foxmask

Recent changes RSS feed Creative Commons License