Modify ↓
Opened 16 months ago
#22616 new enhancement
Language flag missing from CLI modules
Reported by: | gaben | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | cli i18n cmd | Cc: |
Description
What steps will reproduce the problem?
- Run JOSM with any of the CLI modules
$ java -jar josm-tested.jar render -h --language=en JOSM rendering: ismeretlen '--language' opció
What is the expected result?
The --language=<language>
is available for each CLI module.
What happens instead?
It is missing from the options (render and project modules).
Please provide any additional information below. Attach a screenshot if possible.
Also, the flag sometimes works unexpectedly:
$ java -jar josm-tested.jar validate -h --language=en JOSM Validation command line interface Használat: java -jar josm.jar validate <options> Leírás: Validates data and saves the result to a file. Beállítások: --help|-h Ezen súgó megjelenítése --input|-i <file> Input data file name (.osm, .validator.mapcss, .mapcss). OSM files can be specified multiple times. Required. .validator.mapcss and .mapcss files will stop processing on first error. Non-osm files do not use --output or --change-file --output|-o <file> Output data file name (.geojson, line-by-line delimited for MapRoulette). Optional. --change-file|-c <file> Change file name (.osc). Can be specified multiple times per input. Changes will be applied in the specified order. Optional.
See "Használat" and "Leírás" for example. They using system language (Hungarian), although the flag set to en
.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-10-31 17:29:20 +0100 (Mon, 31 Oct 2022) Revision:18583 Build-Date:2022-11-01 02:30:58 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18583 en) Linux Ubuntu 20.04.5 LTS Memory Usage: 249 MB / 2480 MB (149 MB allocated, but free) Java version: 11.0.17+8-post-Ubuntu-1ubuntu220.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1918×1020 (scaling 1.00×1.00) Maximum Screen Size: 1918×1020 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: hu_HU.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_HU Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java package: openjdk-11-jre:amd64-11.0.17+8-1ubuntu2~20.04 Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1 fonts-noto: fonts-noto:-
Attachments (0)
Note:
See TracTickets
for help on using tickets.