The default format values are based on the local Operating System format settings on the machine where the document is initiated. However, an additional variable exists for month names called LongMonthNames which is also defined when initiating the document on the machine, but it is not displayed in the initial script of the application. The variable will be not altered when reloading the document in a different system locale. Consecutive functions making use of month names are affected.
There are many possible scenarios fort his issue. For example the user opens an application on a system with English locale and after the reload of the document the month names are in German. The user changes the names of months to English but still using function that uses month names (like Date()) the month names are displayed in German. It can look like that:
This is only an example and the problem can happen for any other language.
In order to solve this issue do the following:
- Include the SET LongMonthNames variable providing the names of the months in desired language in the beginning of your script.
- or create a new document on the target machine with the Language locale you want to use