Our prototype now supports both German and French, by using different dictionary files.
Usage
Install the user scripts into your browser. You need:
- A dictionary file (dictionary-*.user.js) (de, fr)
- The actual translation script (stack_overflow_translation.user.js)
(We work on cutting this down to two scripts.)
In Opera, put them into a directory and configure that directory as your user script directory (Settings => extended => contents => JavaScript options => User Javascript directory).
In Firefox, install the GreaseMonkey addon (if you didn't already), then install these as user scripts (simply clicking on the file should give you the link). Install them in the order listed above, or afterwards reorder them in this order (the translation script needs to be last).
If you have multiple dictionaries (i.e. for different languages), the last one loaded (before the main script) will be used.
Contribute
- If you know German or French, please test the script and report wrong translations.
- It looks like we need translations of these images, or a way not to use these images (for the beta sites):sprite-sheet http://cdn.sstatic.net/Skins/sketchy/img/sprites-beta.png?v=2sprite-sheet http://cdn.sstatic.net/Skins/sketchymeta/img/sprites-beta.png
- In some cases the translations create a loss of functionality - these are bugs. Report them,and if you know some JavaScript, help us solve them.
- Some parts of the sites are not yet translated - you are welcome to contribute code, or simplyreport what is missing.
- Add translations to more languages. Japanese is most likely the most wanted, but we welcome any other languages.But we can not guarantee any stable interface yet (e.g. the translation keys might change).
- At some times the translations take more space than the original, and this space is not available. Here we mighthave to adapt the CSS from our script to change some sizes.
Our code is hosted at GitHub - fork the repository, make modifications, and send a pull request.