Modify

Opened 3 years ago

Last modified 3 years ago

#21381 new defect

Some German translations are shown even if language is set to English

Reported by: GerdP Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description (last modified by GerdP)

What steps will reproduce the problem?

  1. Make sure JOSM is started without language parameter and language is set to en (English)
  2. Press F12 to Open preferences, select validator tab "Tag checker rules"

What is the expected result?

All texts are in english

What happens instead?

The mapcss tests are shown with German names, e.g. "Unnötige Merkmale"

Please provide any additional information below. Attach a screenshot if possible.

I use a Windows system that is configured to German language and sometimes use German in JOSM.
The German texts also show in other dialog elements like popups or tooltips.
Can reproduce this with tested and latest.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-03 03:12:33 +0200 (Fri, 03 Sep 2021)
Build-Date:2021-09-03 01:31:19
Revision:18193
Relative:URL: ^/trunk

Identification: JOSM/1.5 (18193 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 528 MB / 3641 MB (314 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_DE
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ apache-commons (35524)
+ buildings_tools (35823)
+ contourmerge (v0.1.8)
+ ejml (35458)
+ geotools (35458)
+ imagery-xml-bounds (35723)
+ jaxb (35543)
+ jts (35458)
+ o5m (35640)
+ opendata (35803)
+ pbf (35720)
+ poly (35640)
+ reltoolbox (35640)
+ reverter (35732)
+ undelete (35640)
+ utilsplugin2 (35792)

Validator rules:
+ c:\josm\core\resources\data\validator\geometry.mapcss
+ d:\java_tools\JOSM\mygeometry.mapcss

Attachments (1)

mixed-languages.PNG (128.8 KB ) - added by GerdP 3 years ago.

Download all attachments as: .zip

Change History (3)

by GerdP, 3 years ago

Attachment: mixed-languages.PNG added

comment:1 by GerdP, 3 years ago

Description: modified (diff)

comment:2 by GerdP, 3 years ago

Seems the translated Strings are stored in the preferences when you change the entries while German language is active:

  <maps key='validator.org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.entries'>
    <map>
      <tag key='active' value='true'/>
      <tag key='title' value='Adressen'/>
      <tag key='url' value='resource://data/validator/addresses.mapcss'/>
    </map>
    ...
  </maps>

A click on the Reset button in the preferences dialog brings back the english texts. If language is changed to German and the reset button is clicked these texts are changed to German.
A bit confusing for me but not a real problem.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to GerdP.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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