Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

At the moment FarCry provides an option for multi-lingual websites to develop separate branches of content within the same site, each branch containing content based on a different language.

...

  • entail using a single tree of content in a primary language to determine the information hierarchy of the site
  • manage multiple translations of each navigation folder for menuing systems
  • manage multiple translations of the same content item; a primary content item translation will be used to position the content in the site tree
  • dynamically determine the visitors required language and render the relevant translation (defaulting to the primary language if a translation is not available)

Technical Approach

This technical approach eliminates the need to make major modifications to the core FarCry libraries, instead leveraging the ability to extend core content types functionality. However, it does require the use of features only available in FarCry v3.0 namely extended array properties.

develop an approach to flagging visitor locale

Web visitors will need to have their locale determined before an appropriate translation can be rendered. This might be set and stored in a cookie after an initial determination (preferred), passed on the URL as a parameter or set in the session scope.

Extending dmNavigation

Add aTranslations array property with the following extended property fields:

...

The Navigation overview handler will need to be updated to allow contributors to edit and add relevant translations for the label.

Extending dmHTML, dmNews, dmEvents etc

Add the following content proerties to primary content types:

...

Each content type overview display will need to be updated to allow contributors to edit multiple translation instances and/or create new translations as required.

Additional Issues

Additional development work will be required in the presentation layer as several "webskin" tags will need to be modified or rebuilt to accommodate to dynamically "lookup" the relevant translation based on the visitors locale.

...

Verity search collections would need to be modified to create an independent collection for each locale.

Random Notes

Paul H added a comment - 25/Aug/05 10:20 AM

...