Settings LanguageSettings/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 118: Zeile 118:




Back to [[Settings Dialog]].
Back to [[Settings Dialog/en]].

Version vom 2. April 2014, 00:25 Uhr

Language Settings[Bearbeiten]

Supported GUI Languages[Bearbeiten]

By the time of writing of this document, the following languages are directly supported:

  • German
  • English (UK)
  • English (US)

Support for additional languages can be provided by exept, third parties or yourself, by creating a corresponding language-translation file, which is to be placed into the "resources" directory of the expecco installation.

Changing the GUI Language during your Session[Bearbeiten]

Changing the language during a session only affects new views; existing views (either iconified or open) keep their resources as valid when created. The reason is that these language translations are cached internally within the view instances. However, the settings dialog application, will close and reopen itself and all expecco browser windows when the language changes.

Setting a Default Language[Bearbeiten]

When started, expecco sets the language from the shell environment variable ``LANG (Unix) or under Windows, from the user's standard Windows language settings (in the registry).

Therefore, to change the language, Unix/Linux users, may add a line such as:

    setenv LANG de

or:

    LANG=de
    export LANG

or:

    export LANG=de

to their login profile (if not already present) and login again.

Windows users simply change their Windows language setting and restart expecco (expecco reads the language setting from the registry).


Model Language vs. GUI Language[Bearbeiten]

In multinational companies, it is often useful to define language-specific names for the model elements (Activities, Steps, Pins, etc.). To support this, the item-tree's popup menu provides a "Translate" function, which lets you add language specific names to an element. By changing the model-language setting, those translated names are shown, if possible.
Notice that model-language strings are defined by the user and are stored with the project file.

Date Format[Bearbeiten]

The format used to present calendar dates in the user interface. Notice that the format in a report is specified in the report template and may be different from the format used in the UI (which makes sense, if you have to generate reports in multiple languages or for a boss which speaks a different one...).

A number of common formats are provided in the combo list, but you are free to enter any other format, by combining one or multiple of the following placeholders:

  • %(day) - the day of month, with a leading zero if required (01..31)
  • %(Day) - the day of month, without leading zero (1..31)
  • %(month) - the month number, with a leading zero if required (01..12)
  • %(Month) - the month number, without leading zero (1..12)
  • %(year) - the year, as a 4-digit number (2012)
  • %(Year) - the year, as a 2-digit number (12)
  • %(MonthName) - the month's name, first chracter in uppercase (November)
  • %(monthname) - the month's name, all lowercase (november)
  • %(MONTHNAME) - the month's name, all uppercase (NOVEMBER)
  • %(ShortMonthName) - the month's short name, first chracter in uppercase (Nov)
  • %(shortmonthname) - the month's short name, all lowercase (nov)
  • %(SHORTMONTHNAME) - the month's short name, all uppercase (NOV)
  • %(DayName) - the days's name, first chracter in uppercase (Monday)
  • %(dayname) - the days's name, all lowercase (monday)
  • %(DAYNAME) - the days's name, all uppercase (MONDAY)
  • %(ShortDayName) - the days's short name, first chracter in uppercase (Mo)
  • %(shortdayname) - the days's short name, all lowercase (mo)
  • %(SHORTDAYNAME) - the days's short name, all uppercase (MO)
  • %(weekDay) - the european day in week (1=Monday)
  • %(weekDayUS) - the us day in week (1=Sunday)
  • %(nth) - english count abbreviation for day ('st', 'nd', 'rd',...)
  • %(weekDayNth) - english count abbreviation for weekDay ('st', 'nd', 'rd',...)
  • %(weekDayUSNth) - english count abbreviation for weekDayUS ('st', 'nd', 'rd',...)

For example, the formatstring:

 "%(DayName), the %(day)%(nth) of %(MonthName)"

generates "Monday, the 2nd of November", and

 "%(DayName), den %(Day). %(MonthName)"

generates a german date like "Montag, den 5. November".

Time Format[Bearbeiten]

The format used to present time-of-day values in the user interface. Again notice, that the format in a report is specified in the report template and may be different from the format used in the UI (useful, if you have to generate reports in multiple languages or for a boss which speaks a different one...).

Two common formats are provided in the combo list, but you are free to enter any other format, by combining one or multiple of the following placeholders:

  • %(h) - hour, european format (00..23)
  • %(u) - hour, us format (00..12)
  • %(m) - minute with leading zero (00..59)
  • %(s) - second with leading zero (00..59)
  • %(a) - am/pm lowercase (only useful with %u above)
  • %(A) - am/pm uppercase (only useful with %u above)
  • %(T) - second from midnight
  • %(t) - second within hour
  • %(i) - millisecond
  • %(milli1) - millisecond truncated to 1/10th of a second
  • %(milli2) - millisecond truncated to 1/100th of a second
  • %(z) - timezone lowercase
  • %(Z) - timezone uppercase


Back to Settings Dialog/en.



Copyright © 2014-2024 eXept Software AG