Translation system

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 )

Outdated content

This page contains information that might not be up to date anymore. It's still here for informational purposes, and can be used as a base for something new, as well as for being updated by people like you.

Translation - Translation guide - Missing languages - Wishlist

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