#18056 closed enhancement (wontfix)
duplicate translatable strings of JFileChooser
Reported by: | Klumbumbus | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | i18n | Cc: |
Description
specialmessages.java contains some very similar strings. Can we save a few translatable strings here?
/* Strings in JFileChooser */ tr("Abort file chooser dialog"); /* Strings in JFileChooser */ tr("Abort file chooser dialog."); /* Strings in JFileChooser */ tr("File name:"); /* Strings in JFileChooser */ tr("File Name:"); /* Strings in JFileChooser */ tr("Files of type:"); /* Strings in JFileChooser */ tr("Files of Type:"); /* Strings in JFileChooser */ tr("Filter"); /* Strings in JFileChooser */ tr("Filter:"); /* Strings in JFileChooser */ tr("Look in:"); /* Strings in JFileChooser */ tr("Look In:"); /* Strings in JFileChooser */ tr("Open selected file"); /* Strings in JFileChooser */ tr("Open selected file."); /* Strings in JFileChooser */ tr("Save in:"); /* Strings in JFileChooser */ tr("Save In:");
Attachments (0)
Change History (7)
comment:1 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:3 by , 5 years ago
They started in Java 13 to deprecate old look and feels but it might take years before we get a single string across all default L&F: javabug:8218637
follow-up: 5 comment:4 by , 5 years ago
Because of #18039 I wanted to ask if we still need these texts or if Java finally translates it's own texts. I assume the answer is "we still need them"?
comment:5 by , 5 years ago
Replying to stoecker:
Because of #18039 I wanted to ask if we still need these texts or if Java finally translates it's own texts. I assume the answer is "we still need them"?
Oracle doesn't give a shit anymore about desktop. I doubt we'll see any improvement of the kind in AWT/Swing unless they extract it from OpenJDK and allow someone else to maintain it (they did this for JavaFX and we now see more improvements from Gluon than Oracle did in the past two years).
comment:6 by , 5 years ago
Ah, maybe they improved the situation when they still cared about it: javabug:8039463 We should check.
comment:7 by , 5 years ago
Mmm we still need to translate. It seems they only maintained 10 translations, we have a lot more languages:
https://github.com/openjdk/jdk/tree/master/src/java.desktop/macosx/classes/com/apple/laf/resources
https://github.com/openjdk/jdk/tree/master/src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/resources
https://github.com/openjdk/jdk/tree/master/src/java.desktop/share/classes/com/sun/swing/internal/plaf/basic/resources
https://github.com/openjdk/jdk/tree/master/src/java.desktop/share/classes/com/sun/swing/internal/plaf/metal/resources
https://github.com/openjdk/jdk/tree/master/src/java.desktop/share/classes/com/sun/swing/internal/plaf/synth/resources
Nope, see https://josm.openstreetmap.de/ticket/5093#comment:11
Messages differ because of the look and feel.