Define A12 Formatter? / Form-Engine-Locale?

Hi,

I’d like to set the formatting of fields in the A12 modells to another locale.
But I’m getting “unsupported locale: EN” in my Form-Engine form.

How do I define / configure more possible formats?

Best regards
Tobias

Hi Tobias, formatting and parsing is currently only configurable using the engine’s APIs, not in the models. In case you need a model-based feature, please contact TPS or create an A12 ticket.

Best
Baschir

Yes I know. Currently we use DE and CH. But what configuration to set in the API for USA? Is “en_US” supported?

Ah, sorry. You have to set full locales using the “Java” underscore style, e.g. de_DE or en_US. I think en_US will work out of the box.

Tuan and I found a solution: It seems the language “en” is set in the model while we set the county “US” via the API.

It would be cool if I can set “en_US” in the model and dont use the API. Maybe just an idea.
At the moment I don’t have further questions.

Thanks!

PS: Trinh pointed to this story A12-10968 to solve this issue in BAP.