Opened 17 years ago
Closed 16 years ago
#762 closed defect (fixed)
Plugins description not translatable
Reported by: | anonymous | Owned by: | stoecker |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Following elements are not translatable:
a) all presets
b) the plugin descriptions
c) the new MOTD (whereas the all start screen was)
At least the presets are a major issue. Fixing josm to allow translations as well as adapting the gettext calls to get the texts from the xml files should both not be too complicated.
Attachments (1)
Change History (10)
comment:1 by , 16 years ago
Summary: | Presets, Plugins description and MOTD not translatable → Plugins description not translatable |
---|
comment:2 by , 16 years ago
Summary: | Plugins description not translatable → [Patch?] Plugins description not translatable |
---|
Is there a reason why this can't be achieved using tr()? My guess is that these won't automatically show up in Launchpad hence making it either pretty useless or and immense amount of work.
If that's the case, I'll develop something more sophisticated.
comment:3 by , 16 years ago
Summary: | [Patch?] Plugins description not translatable → Plugins description not translatable |
---|
We have a wiki and thus the texts can change always. Also the translations will not cover these texts and thus are never translated.
The correct way would be to separate the langauge related information and the rest on the WIKI page (e.g. like for MOTD).
comment:5 by , 16 years ago
Best would be a TRAC-Skript adding the plugin-versions to josm.openstreetmap.de/versions automatically.
E.g. add
- filename
- version
- josm-version
- author
- description
from plugins.
Now we could add translations to the plugins and use the normal translation system like for presets.
The plugins page could then be generated automatically or reduced to link to these files which are not in SVN.
comment:7 by , 16 years ago
Owner: | changed from | to
---|
Changed that a bit. Plugins now can be reached under
http://josm.openstreetmap.de/plugin
TODO:
- Add Plugin-Link for a webpage link in MANIFEST
- Add "lang.Plugin-Description" in Manifest, e.g. "de.Plugin-Description".
- Update plugin descriptions
- Parse non-svn plugins
- Generate Trac support for plugins page allowing to generate a SVN-plugin [plugin:name] and external [plugin:url] and a template page {Template:Plugins:lang} which contains these sets. THe Plugin page and localized variants will then be auto-generated.
comment:8 by , 16 years ago
Done:
- [ [ Plugins(en|name|author|description|version|More details) ] ] works for multiple languages
- Plugin-Link introduced
- all plugins parsed
- localized forms introduced
Missing:
- update build.xml's to include useful data
- add descriptions to translations
- add tr and localized support in JOSM
- add Plugin-Link support in JOSM
Updated subject. The others have been done.