Files
odfstudio/wizards/source/scriptforge/python
Jean-Pierre Ledure 60f786bde4 ScriptForge - (L10N): add new arguments to the service creation
Actual arguments:
  - FolderName: the folder containing the PO-files
  - Locale: in the form la-CO (language-COUNTRY)
  - Encoding: The character set that should be used

New arguments introduced by this commit:
  - Locale2: fallback Locale to select if Locale po file does not exist
  - Encoding2: Encoding of the 2nd Locale file

Both new arguments are optional => no regression on existing scripts

The arguments are available in Basic and Python equally.
They may be passed as keyworg arguments in Python only.

The default locale is now set to the "OfficeLocale",
which is the locale in the user interface.
NB: the distinction between SystemLocale and OfficeLocale
is new in version 7.4.

Change-Id: Ie3bc5d30193df35a8c6c1ec706e13eaea0050981
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130074
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-02-17 16:18:49 +01:00
..