Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Where is "Form locale" looked up from??

Avatar

Level 4

Hi,

In LC designer under form properties > Defaults you can set Locale. We use Viewer's system locale

Today all our forms have . (dot) and , (comma) mixed up in numeric fields.

- We have not changed the forms

- We have not changed/updated Acrobat/reader software or changed language from danish to english

We do not know if changes in windows have happend. Some GPO settings have been changed as Office 2007 have been lanched

Help is much appreciated and needed... I need bright input NOW

/Thomas

Jyske Bank, Denmark

1 Accepted Solution

Avatar

Correct answer by
Level 2

Locale definitions are also stored inside the XFA definition.  You can see them if you go into XML Source view and search for: "localeSet".

The localeset will embed the ambient locale of the form designer's system, and will also embed all locales referenced by the form.

So if you want to guarantee that the Danish locale gets embedded, then create at least one object on your form that explicitly uses that locale.

Also bear in mind that once a form with an ambient locale is opened and saved, the locale setting will be preserved in form state.

That way the form appearance will remain consistent if it gets sent to someone else who has a different ambient locale.

locale can also be explicitly set via script if need be.

  John

0 Replies

Avatar

Level 10

Hi,

Have you looked in the Windows Control Panel; under Regional & Language Options you have two settings that may help:

Otherwise change the locale from viewer's settings to Danish (Denmark).

Hope you get it sorted,

N.

Avatar

Level 4

Hi niall

we have allready checked windows in that setting and it looks correct, with correct danish seperators

100.000,00 DKK  = correct

but still in our forms

100,000.00 DKK = WRONG

anyone other with ideas??

we think about hardcoding locale to danish. we have 500 pdf forms that need updated XDP and later saved to PDF

/Thomas

Avatar

Correct answer by
Level 2

Locale definitions are also stored inside the XFA definition.  You can see them if you go into XML Source view and search for: "localeSet".

The localeset will embed the ambient locale of the form designer's system, and will also embed all locales referenced by the form.

So if you want to guarantee that the Danish locale gets embedded, then create at least one object on your form that explicitly uses that locale.

Also bear in mind that once a form with an ambient locale is opened and saved, the locale setting will be preserved in form state.

That way the form appearance will remain consistent if it gets sent to someone else who has a different ambient locale.

locale can also be explicitly set via script if need be.

  John

Avatar

Level 4

Hi,

To correct our production problem, we set all forms to danish locale - earlier we use the 'ambient locale'. This made the correct seperators in amounts etc

Days later, our IT department found out, that the codepage had been changed by mistake. This was deeper in the Windows system, as windows regional settings still displayed danish. When corrected it solved the issue

/Thomas G
Jyske Bank.. soon going to MAX 2009