Project

General

Profile

AuthWidget language

Added by Gustavo Sooeiro about 11 years ago

Hi folks,

I would like to get the AuthWidget in portuguese. How should I get the form translated?

Thanks a lot.

Gustavo


Replies (2)

RE: AuthWidget language - Added by Koen Deforche about 11 years ago

Hey Gustavo,

That is indeed not well documented. See the attached file which contains the translation keys that are used for the default (English) text. You should provide a file for your portuguese locale.

  messageResourceBundle().use("auth"); 
  setLocale("pt")

and with a file "auth_pt.xml" which contains the portuguese translation of the attached file (src/xml/auth_strings.xml in current git).

RE: AuthWidget language - Added by Gustavo Sooeiro about 11 years ago

Hey Koen,

Thanks a lot my friend!

Its been almost a year when I first met WT. I hope I get fluent soon ... :)

BR,

Gustavo

    (1-2/2)