Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Setting UME User with language Portuguese (Brazil)

Hello All,

does someone has any idea how Can I to set language of user such as Portuguese(Brazil) ?

The code bellow not work well, because, it's just set the language as Portuguese without (Brazil).

IUserFactory userfact = UMFactory.getUserFactory();

IUserMaint newUser = UMFactory.getUserFactory().newUser(infoUser[0]);

newUser.setLastName(infoUser[1]);

newUser.setLocale(new Locale("pt"));

newUser.setCountry("Brazil");

newUser.save();

newUser.commit();

Thanks.

Tags:
Former Member
Former Member replied

Hey Guys, I found the answer to this problem above!!

newUser.setLocale(new Locale("pt_br"));

[]´s

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question