Localization

Filmaster is international by design.

And it's international in a very peculiar way.

Basically the concept is to share everything that can share like:

  • users & passwords & private data
  • films and people
  • votes on films and people
  • tags

and not share what we definitely can't like:

  • reviews
  • shorts
  • forum discussions
  • film descriptions

which can be simplified to: share the metadata, content is localized.

Technical details

Each localized version of Filmaster is a separate installation. They use the same SVN code (same branch even for now), and differ only in configuration. Here is a hopefully-complete list of hacks that were necessary for the localization:

  • The main config file settings.py has a LANGUAGE_CODE variable. This is set to the current localization (like 'en' or 'pl) and used throughout the application to display the correct data
  • The localizable models have a LANG field which defines the language of the entry. This applies to the following models: ShortReview, Post, ObjectLocalized, LocalizedPerson, LocalizedFilm, Character
  • There is a hack implemented for each localizable model to make sure we're only fetching the objects in the correct localization for all the queries. This is done in get_query_set method in relevant managers.
  • CSS is same for all localized versions, except for a small part which is localized (imports at the top of the file). The small localized CSS is expected to be at localized.css and is a symlink to the relevant file (like english.css)
  • All the images are referenced only in CSS. They are assumed to be in a static/img/localized folder. This is a symlink to the correct localization (like static/img/en)

Do you want to help translate Filmaster?

It's easy! We have set up a pootle server where you can easily help translating Filmaster to your native tongue online. If you'd like to help, please e-mail us at filmaster@filmaster.com and we'll set up everything for your language including your account. There is a problem with the resgitration at the moment and confirmation e-mails may not get to you.

Translate Filmaster online here!

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.