Home | Info | Community | Development | myReactOS

  1. Home
  2. Info
  3. Community
  4. Development
  5. myReactOS

  1. Main Page
  2. Recent changes
  3. Random page

  1. What links here
  2. Related changes
  3. Permanent link
  4. Upload file
  5. Special pages

  1. Login
  2. Register

ReactOS Community > ReactOS Wiki

Sublang

From ReactOS

General Rules

  • If the primary language has only one sublanguage, use SUBLANG_DEFAULT or SUBLANG_NEUTRAL.
    We highly recommend using SUBLANG_DEFAULT here, but to retain compatibility with the Wine Sublang Rules we also allow using SUBLANG_NEUTRAL. This means that you also shouldn't change SUBLANG_NEUTRAL to SUBLANG_DEFAULT in a component we share with Wine.
  • If the primary language has more than one sublanguage and we have no general translation for this primary language yet, use SUBLANG_NEUTRAL for the general translation.
  • If the primary language has more than one sublanguage, we already have a general translation for this primary language and you want to add a translation specifically for this sublanguage, use SUBLANG_SubLanguageName for this specific translation.

Exceptions of these Rules

  • If the primary language is LANG_ENGLISH and you want to add a general english translation, you have to use SUBLANG_ENGLISH_US.
    Every file, which contains translations, should have a LANG_ENGLISH, SUBLANG_ENGLISH_US translation as this is also used as a fallback.
  • For LANG_IRISH, you cannot use SUBLANG_DEFAULT. In this case, you have to use SUBLANG_IRISH_IRELAND.
  • If you want to add a chinese translation, decide on either SUBLANG_CHINESE_SIMPLIFIED or SUBLANG_CHINESE_TRADITIONAL.
    As both languages differ very much in the used alphabet, we should set no default or neutral language here.

Web Links


ReactOS is a trademark of ReactOS Foundation in the United States and other countries.