Help:Extension:Translate/Page translation administration

TODO

 * Invisible-fuzzy the out-dated section translations (currently confusing)
 * The magic page links (getting people to translated page automatically, if it exists)
 * Removing pages from translation
 * Background job of updating the translation pages when template changes while new version is marked
 * Display a notice to unpriviledged users who add &lt;translate> tags to prevent confusion
 * Write some documentation, screenshots, maybe a screencast.

Discussion
The old version had list of languages in the sidebar. Currently I am not planning to restore it, but instead concentrate on improving the user experience such that there is no need to list potentially hundreds of languages. the tag currently lists all languages (should it have a threshold?) – Nike 10:14, 11 May 2009 (UTC)

Another thing that may be confusing is that the migrated translations are missing some tags, so they do not show diffs of changed sections and the translation pages are a bit ugly. This should go away when they are updated. – Nike 10:14, 11 May 2009 (UTC)

Currently only staff can mark pages for translation. Should it be given to to other people too? – Nike 10:18, 11 May 2009 (UTC)

Technical thingies
Foo bar baz &lt;translate>

Section 1
This section is in tag1

Section2 in tag1 &lt;/translate> Foo bar baz in not translated

Turns into:

Foo bar baz &lt;translate>

Section 1
This section is in tag1

Section2 in tag1 &lt;/translate> Foo bar baz is not translated

Each such section is translated individually using Special:Translate like any other group. When translation is updated a Pagename/langcode is (re)generated.

Each modification to source page should not immediately show up for translations (vandalism, work-in-progress). There needs to be a tool (for example a new special page), that will allow choosing which revision is translated. When that revision is changed, changes to sections are checked, and translations for changed sections are fuzzied (marked for re-translation) and the translation pages should be re-generated to indicate that some translation are not up-to-date.

When updating translations, the translator should see a diff of changes.

Translation pages are generated using a template, where section positions are marked and just replaced with the translated text. The template is created from the source page at the same time as parsing the sections.

Source pages go trough some simple syntax checks, which prevent saving the page if anomalies are found.

Sections are runs of text separated with at least two new lines. They are marked with codes like, where "2" is the actual id. This should correspond to what is in the database. It should probably be possible to assign them descriptive names when they are first introduces, because they will show up in the recent changes like "Translations:Pagenamepace:Pagetitle//languagecode".

Special:Translate should be able to show list of pages that can be translated. There will be some candy showing the list of translation pages and their completion percentages, and possible re-directing the user automatically to the correct page.

Q:s
 * What to do with deleted sections?
 * A script that can purge them?

Typical select query would be like: