Translation system

From the CouchSurfing Wiki, an informal workspace which anyone can edit.

Jump to: navigation, search

THIS PAGE IS OUTDATED

Now you're rocking with the Tech team
( documentsstatusmeetingswhy we work on CS )

Translation - Multilingual - Translation guide

CouchSurfing translation system.

The current translation system is not right for that. It works like this:

  • Programmers put the translate() function around some text, e.g. translate("This works")
  • If the language is set to something else than English the code looks for a translation
    • If there's no translation: add it to the things to translate
    • Otherwise (or if the language is set to English): thow the text

Contents

Bugs

  • ..

Problems

  • The text is changed. E.g. translate("This works!"), we need a new translation.
    • Whole paragraphs are entered at once.
  • If sentences are translate()d one by one it's much harder for translators to see the context.


Issues to address

  • This system is definitely not the right way, since a lot of effort would be wasted because people's profiles change a lot.
  • Texts on the wiki.

Partly alternatives

  • Using existing (and better) translation libraries
  • Setting up wikis in different languages.

CS Group threads

Personal tools