Ticket #5093 (closed defect: fixed)
translation for open file
| Reported by: | jezevec | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description
Seems there are no translation strings for open file dialog.
Strings without translation examples: Look In, File Name, Files Of Type, Up One Level etc.
In attached img is cs version with some translated filetypes.
Attachments
Change History
Changed 2 years ago by jezevec
- Attachment OpenFile.png added
comment:1 Changed 2 years ago by stoecker
- Status changed from new to closed
- Resolution set to wontfix
This is part of Java. We can't translate this without replacing the dialog completely. I think there is another ticket which had a possible suggestion to do string-injection into the dialog, but I can't find it.
comment:2 Changed 2 years ago by bastiK
- Status changed from closed to reopened
- Resolution wontfix deleted
comment:4 Changed 2 years ago by bastiK
- Status changed from reopened to closed
- Resolution set to fixed
comment:5 Changed 2 years ago by stoecker
- Status changed from closed to reopened
- Resolution fixed deleted
You need to extract the messages and save them in "specialmessages.java" in i18n dir, or we wont have translations for them!
comment:6 Changed 2 years ago by bastiK
- Status changed from reopened to closed
- Resolution set to fixed
I'm aware of that, but cannot do it at the same time :)
comment:8 Changed 2 years ago by bastiK
my computer yes, but for my brain i missed the latest update
comment:9 Changed 2 years ago by bastiK
- Status changed from closed to reopened
- Resolution fixed deleted
OK, I tested for Ukrainian now:
Some messages are translated (mostly tooltips) but some are not:
As far as I can see, the only problem is upper case / lower case:
I copied the messages from the source but it seems Java randomly capitalizes some words:
"Files of type:" --> "Files of Type:"
(Or maybe Java has updated the messages slightly in later versions.)
What shall we do about it?
comment:10 Changed 2 years ago by bastiK
comment:11 Changed 2 years ago by bastiK
Ok added messages for other look and feels. Let's see if it helps ([o21627])
comment:12 Changed 2 years ago by bastiK
comment:13 Changed 2 years ago by bastiK
- Status changed from reopened to closed
- Resolution set to fixed
comment:14 Changed 2 years ago by bastiK
As said above, there seem to be slight variations in capitalization and punctuation. If you encounter another untranslated string in this dialog you can reopen and add the exact string. (Depends also on Look&Feel.)
I added already the 2 tooltips for ok and cancel in metal Look&Feel.



Open file dialog