Description
According to HelpOnLanguages: Simply create some pages like GermanDict, FrenchDict, ... Moin then will use those dict pages if it can't find the text in its built-in translation dictionaries. .
Followed the instruction, but it does not seem to work.
Example
Here is a GermanDict:
http://id00243.id.tue.nl/vcwi/GermanDict
Set the webbrowser's language to German, refrest the page - the translation does not work.
This should be in Hebrew: lalala
Details
MoinMoin Version |
1.3.1 |
OS and Version |
Fedora Core 3 |
Python Version |
2.3.4 |
Server Setup |
Apache |
Server Details |
|
Workaround
Delete all files in the folder data/cache/wikidicts/.
Discussion
See workaround. I hope that it helps.
- Yes, Indeed. Thank you.
Question:: How should I do a simplified chinese dict? according to the instruction, I should use the English name of the language. It is then Simplified Chinese in zh.py, should I make a Simplified ChineseDict page with a space in it? It is not clear in the instruction.
I tried Simplified ChineseDict, SimplifiedChineseDict, ChineseDict, none of them worked. I don't know what my language is anymore
Try Simplified_ChineseDict, too. If that also makes trouble, change the english name in zh.po and remove the space.
Does not work for me either, reopening the bug -- AlexanderSchremmer 2004-12-21 23:16:57
Its broken, but not a core feature, should be fixed after 1.3.2, unless we fixed all other waiting bugs. -- NirSoffer 2004-12-22 08:50:39
It seems working now in 1.3.2. I tested with Simplified ChineseDict and GermanDict, all seems fine. -- JunHu 2005-01-25 12:47:45
The <Language>Dict feature is designed to add to the i18n strings that are usually taken from MoinMoin/i18n/*. It is not a "make moin try to translate any word you see on the screen" function, it just works for stuff the moin engine tries to translate using the request.gettext (usually used as _()) function. E.g. navibar or stuff you try to translate with the [[GetText(text)]] macro. Finally, you can translate third-party plugins with it.
Plan
- Priority: medium
- Assigned to:
- Status: seems to be fixed since 1.3.2