To main heading

Smallsite Design

Online management help

6. Locale

Locales are a composite of a language and region or country, and may include a script which defines the character set used if there is more than one used for the language.

The items in the page's navigation bar are:
#ItemDescription
aLocaleLocale being viewed or edited
bNameFull name of the locale
Warning

The locale being edited is the one selected on the Work list page to open this page, and not necessarily the one currently being used to view the page.

This warning is only relevant if there are multiple locales. The current viewing locale is shown at the start of the top navigation bar and can be changed by clicking one of the buttons in the Locales section at the bottom of any management page.

The details for an exiting locale are:
#NameDescription
1UserAvailable user interface languages to use for Smallsite Design supplied text, such as on buttons. List begins with languages with the same reading direction as the current locale, followed by a double line and the languages in the opposite direction
2NextLocale to use as the fall-through if an article or text doesn't exist for the current one. Select None to fall-through directly to the master locale. Not shown for the master locale
3QuotesWhich set of outer and inner quotation marks to use when rendering quotes or subquotes
4OverridesCommon punctuation items to use instead of those in the User language when rendering user interface text, so that it matches what is used in the content
5ShowWhether the locale is publicly viewable. Always for the master locale
6RenameList of regions available for the current language-script. After selection, the login page will be displayed. If cannot rename, shown after Cannot: will be Editing articles as a jump to the In progress section of the Work list page
7RemoveRemove the locale. After confirmation, the login page will be displayed. If cannot remove, see the list below for what is shown

By default, if a matching user interface language exists for a new locale, it will be set as User, otherwise the User of the master locale will be used, otherwise English will be used. Any other language can be selected at any time. The rendering direction of pages is according to the locale in force, not the reading direction of the user interface language. While user languages of the opposite reading direction can be selected, do so only if necessary.

Typically, each nation has an official style guide that specifies which quotes to use, but while newspapers may use that, online outlets tend to use what their readers expect, which often means the US “ ‘ ’ ” resulting from their decades of cultural dominance of the web. Look at what the online news sites that your target audience likely uses to see what might be best to use. See Related sites for some links for research.

With the pervasiveness of the web by English, largely due to to the domination of the early web by US companies, many site owners may be used to using English punctuation characters on web pages, rather than what their country's style guide says for their language, as happened with quotation marks. The Overrides are provided to specify which characters are used for the cited usages in the rendered user interface text, so that they match what has been used in the rest of the site content. These will likely not be needed for most Latin scripts.

The punctuation items that can be overridden in user interface renderings are:

  1. a.Numerals (2) – use Western Arabic numerals.
  2. b.Full stop (.) – use at the end of sentences.
  3. c.Colon (:) – use at the end of introductions.
  4. d.Sentence space ( ) – use between sentences.
  5. e.List item mark (.) – use after the alphanumeric list item character.

Rich-text elements, like a paragraph, should normally not be written to end in a full stop. A full stop is appended at rendering time if it does not end in a punctuation character. If the Full stop (.) override is selected, it is the character that will be appended.

After adding a locale, ensure all non-main subsites and categories have had all their texts defined for that locale before enabling it. For articles that do not have that locale enabled in the Details section of their Article head page until their texts have been translated, they will fall-through to an enabled locale, and show a message above their header indicating that the locale is unavailable and which one is being used for display. All links on the page will still use the intended locale to maximise locale continuity while traversing the site.

Having /-/ at the end of the path of links to other Smallsite Design sites will add the current locale and accessibility status to facilitate experience continuity between them. Must be before any query or fragment. With an incoming link that specifies a locale, Smallsite Design will attempt to find a matching locale, else one that may have a different region, else use the master locale.


If a locale cannot be renamed, after Cannot: will be Editing articles as a jump to the In progress section of the Work list page.

A locale can only be renamed within the same language and script, so only different regions are offered as options. The restriction is because renaming to another language or script would not alter existing text, but a browser's spelling and grammar tools would likely indicate a lot of errors.

If the locale cannot be removed, shown after Cannot: will be one or more of:

  1. a.Is a next locale as a jump to the locale under the Locales list of the Access section of the Work list page.
  2. b.Editing articles as a jump to the In progress section of the Work list page.

Add

There are over 500 locales to select from.

Clicking the Add button in the Locales item of the Work list, or in the introduction of this page for an existing locale, will present a list of over 500 locales. Select one, then click the resulting Add checkbox, then the new Add checkbox, then the new Confirm button.

  • Subsite
  • Order articles
  • Move articles
  • Contact   Glossary   Policies
  • Categories   Feed   Site map

  • This site doesn't store cookies or other files on your device when visiting public pages.
    External sites: Open in a new tab or window, and might store cookies or other files on your device. Visit them at your own risk.
    Powered by: Smallsite Design©Patanjali Sokaris