- should call Env.getLanaguage(ctx) instead of Env.getLoginLanguage(ctx), Env.getLoginLanguage(ctx) call Language.getLoginLanguage() which will return the default login language instead of the current login language ( see Language.getLoginLanguage() javadoc )
This commit is contained in:
parent
9a9b9472f9
commit
b992310464
|
@ -199,7 +199,7 @@ public class AmtInWords_ES implements AmtInWords
|
|||
if (amount == null)
|
||||
return amount;
|
||||
|
||||
Language lang = Env.getLoginLanguage(Env.getCtx());
|
||||
Language lang = Env.getLanguage(Env.getCtx());
|
||||
//
|
||||
StringBuffer sb = new StringBuffer ();
|
||||
int pos = 0;
|
||||
|
|
Loading…
Reference in New Issue