Kartris was designed from the ground-up to support multiple languages. There is no hard limit on the number of languages; the design is expandable without any database modifications or extra fields being required.

Navigate to 'Regional Settings > Lang. & Email Setup'. From here you can add new languages, and control the settings for each language. Note that the setup of email addresses for the site is located here as they can be set independently for each language.

The text throughout Kartris for routine features such as field labels, button text, titles of functional pages such as the basket and checkout is all stored in the database by means of records we refer to as 'language strings'. This system is built on top of the built-in ASP.NET localization features (which normally run from XML files), replacing that with an SQL database-driven system.

Having the system database-driven makes it far easier to search for, edit and update the string values, essential because of the volume of text in Kartris which can be customized in this way. This system is used in both the front and back end, and so there are several thousand strings for each language. The values pulled out are also cached for performance reasons.

The general back end search box includes language strings within the scope of the search. You can find language strings with a partial text match on either the name of the string or the value. For example, searching for 'street' will find any language string that includes the word 'street' within its value (the visible text you see on the front of the site) or its name (for example, ContentText_StreetAddress).

If you navigate to the language strings page, you have more powerful search tools. Go to 'Regional Settings > Language Strings'. You can filter the search to a particular language, or to only search for the submitted text within the value, name or class. You can also filter by whether a string is used on the front or back end of Kartris.

Language strings

When editing language strings, we strongly suggest you only edit the 'value' field and the 'description' field. Changing the name of a language string will mean that any page which includes that language string will no longer be able to find it.

Being database-driven, the Kartris language provider is very efficient. However, to improve performance even more, language strings are cached because in most cases they change very rarely. If you change a language string, you may find that the change does not appear immediately, even if you rebuild the caches with the button above the left hand category menu. In this case, you can force the language strings to be rebuilt by restarting the site. This can be done from DB admin.

Skins contain language strings, so for similar languages where the layout and fonts would be the same (e.g. European languages), you can typically use the same skin for multiple languages.

If you need to have specific localization such as logos, or for languages such as Chinese which have their own unique fonts, or even Arabic and Hebrew which may have special CSS markup to handle RtL (right-to-left) text, you can do this from the languages section too. See 14.2. Setting a skin for more information.

Powered by tomeCMS