[TYPO3-dev] Proposal: Advanced Language Settings
Daniel Pötzinger
poetzinger at nospam.ded
Mon Nov 12 17:45:34 CET 2007
This is getting a proposal to deal with multilanguage webpages. I would
like to have some meanings and further ideas.
Introduction:
--------------------
On large Multilanguage webpages there are special requirements regarding
to language and language fallback. On a concrete example its better to
understand the different requirements:
The default language is English. The website should also have an
australian. german, mexico and spanish website:
. General Localisation and Fallback feautures. (one-tree)
. If there is no translation for Australia the webpage should fallback
to English (default language)
. If there is no translation for germany -- the page and also non
translated CE should not be shown.
. If there is no translation for Spanish -- the translation for mexico
should be shown. Means a fallback to language mexico.
. The translator should be able to explicitly hide or show a certain CE
or page.
. The translator should be possible to explicitly create a page which is
only visible in his language
Limitations of TYPO3 standard
-----------------------------------
. Translator cannot create new CE or pages
. Fallback and visibility behaviour can only be set global and therefore
not for certain CE or pages
. Only editor for default can control page visibility and structure.
. Different global language settings on a per language basis in nearly
impossible.
3. Solution
-----------------
With an extension it should be possible to set several language settings:
Per language (in website languages record):
. Define the fallbackorder: Means to define which is the alternative
language that should be shown in the case an element is not available in
this language.
. Fallbackorder can be more than one language. It can also include the
default language or not.
. Define the default setting for new elements (pages and CE)
Per element (page/tt_content):
. Define the languagevisibility.
. For each language you have the options:
o Show if in fallback (Means the record is visible if a translation
in the defined fallbackorder exists)
o Show if translated (Means the record is only shown if it is really
translated in the certain language)
o Yes (Always show -- the element. If not translated then the default is
shown)
o No (Hide and do not show)
. (The default option is set in language record -- see above)
3.1 Permissions of a Translator
-----------------------------------
A Translator has the permissions to:
. Set the visibility options for the languages he is responsible for.
. So he can hide default elements
. Create new elements:
o This elements have the visibility set to "NO" for all languages where
the editor has no access.
-----------------------
Please feel free to add any ideas/comments.
More information about the TYPO3-dev
mailing list