This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleWiki-based localization
Date20-Mar-2007 15:35:08 EET
JSPWiki version2.6
Idea CategoryUserInterfaceIdea
Idea StatusNewIdea

Translating property files is boring and error-prone, and they easily fall out of use. We should have a LocalizationPlugin (or some other tool), which takes the contents of a wiki page, and creates a regular property file out of it.

The contents could e.g. look like this:

[{Localize source='LatestBaseBuild/' language='fi_FI' version='2.6.1'

info.title = Sivuhistoria
info.welcome = Tervetuloa

Which would generate something like this:

Language: fi_FI
Version: 2.6.1
Latest source version: 2.6.5

ID English fi_FI
info.title Page History Sivuhistoria
info.welcome Welcome Tervetuloa
info.goodbye Goodbye

Where "info.goodbye" is an addition between 2.6.1 and 2.6.5, and therefore appears as blank. That would make it really easy with one glance to see what is missing from localization.

It would also be relatively trivial to convert the contents of the plugin to a property file automatically and include it in a build.

The base for the translation would be taken from the default language bundle which ships with JSPWiki; someone would just need to upload the new version into wiki.

This idea works also for multiple files.

This is not without precendent, Meebo is already using a wiki for translations. It has spawned translations for useless languages as well, such as "l33t" and "bork", but I think we could survive those ;-)

Problem: How to defend against vandalism? Maybe allow only trusted users to edit?

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 20-Mar-2007 15:35 by JanneJalkanen.