# Translations

The translations for Hatta are now kept at https://www.transifex.com/projects/p/hatta/

## How to install

Put the hatta.mo file in locale/XX/LC_MESSAGES/hatta.mo in the directory where you start the wiki, or in /usr/share/locale/XX/LC_MESSAGES/hatta.mo, if you prefer to have it global. The XX is a two letter ISO symbol of your language. Set the language in Script settings to the same symbol.

Did you ever thought of using the lenguage variable you get from the browser ? I just don't understand why would the site administrator decide for me in which language I want to see the hatta parts of the website.

Ben

Yes, I took part in a number of experimental multilingual wikis and came to a conclusion that, although it's very cool to play with, it's not very useful. In the end I decided against it, as it poses a number of troubles (all of which can be solved, I am sure, with some work) and little benefit:

• The application is more complicated, having to switch languages on per-request basis.
• HTTP caching – one thing that I really paid attention to in Hatta – becomes impossible or hard.
• It's harder to explain how to do things when every user sees something else. Users can't help each other.
• The style designers are forced to make their styles look well in any language – not just the one of the website they are making the style for. If you compare Japanese and German, then the difference in word length is huge.
• The content is usually one language anyways. A wiki is mostly the people, and to form a community they need to communicate (as the name implies), so it won't work if they use different languages.
• For things like translating the pages, having two instances of Hatta in two different languages is massively more convenient – because you can then do hg pull from one of them to the other, and then merge and translate the updates!
• The tokenizer for search indexer used to work differently for different languages (in Japanese it's slightly harder to separate words).
• I personally think that having some parts of the website in one language, and others in another is ugly.

– Radomir Dopieralski