Categorize templates by language and allow the user the option of hiding all but one language
I'm migrating from TWiki and I found that after a while, the list of templates started to get on my nerves. Especially since I knew it would just get more annoying as I added my own templates.
While a multi-language wiki is all well and good, having access to all language templates in one list is awkward. I propose adding code to break the list of templates up by language and add a "show only my language" checkbox. (Or a "show only these" list but that may get troublesome if the Wiki has a lot of languages installed.) Obviously, the "Language-independant" templates would always be shown.
For example, currently the list looks like this:
I think it would look better like this: (please pardon the anglicized language names)
Dutch:
English:
French:
German:
Language-independant:
Or, since I can only read english and would make use of the filtering checkbox:
English:
Language-independant:
There's also the benefit of curious users not being left in the dark over which language each word belongs to.
The fastest way to solve your problem is to rename your templates. Such asEnglish_BugTemplate, Russian_BugTemplate and etc. The listing isalphabetical.
by WikiBenz
Probably the language pragma on the pages could help. Probably a filter could be added to show all pages with the right language and all without the language pragma -- ReimarBauer 2005-11-27 08:00:52
Some code could be derived from CheckTranslation.py for the checkbox filtering of my language. Also this chekckbox could become a user setting, similiar to the Comment stuff. -- ReimarBauer 2009-09-06 10:22:59