Modify

Opened 16 years ago

Closed 15 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)

Just add tr.patch (1.1 KB ) - added by xeen 15 years ago.
Just add tr() around description

Download all attachments as: .zip

Change History (10)

comment:1 by anonymous, 16 years ago

Summary: Presets, Plugins description and MOTD not translatablePlugins description not translatable

Updated subject. The others have been done.

by xeen, 15 years ago

Attachment: Just add tr.patch added

Just add tr() around description

comment:2 by xeen, 15 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 anonymous, 15 years ago

Summary: [Patch?] Plugins description not translatablePlugins 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:4 by xeen, 15 years ago

Owner: changed from framm to xeen
Priority: majorminor

Will work on this.

comment:5 by stoecker, 15 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:6 by stoecker, 15 years ago

Added SVN stuff to version-file.

comment:7 by stoecker, 15 years ago

Owner: changed from xeen to stoecker

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 stoecker, 15 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

comment:9 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r1588.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.