Opened 14 years ago
Last modified 20 months ago
#7289 assigned enhancement
Attribute labels not localized
Reported by: | humdinger | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/People | Version: | R1/Development |
Keywords: | localization | Cc: | |
Blocked By: | Blocking: | #15518, #18110 | |
Platform: | All |
Description
This is hrev40661.
The labels of the attributes shown in the People window are not localized. I guess because the attributes' descriptions are used, which are not localized either. Which may be the actual problem to solve underneath, because that crops up as well with displaying email attributes in Tracker, for instance.
Attachments (6)
Change History (17)
comment:1 by , 14 years ago
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 years ago
Blocking: | 15518 added |
---|
comment:4 by , 4 years ago
Keywords: | localization added |
---|
comment:5 by , 3 years ago
I think localizing TrackerInitialState.cpp may fix this ticket.
I wrote a patch, but there is a problem: every reboot attr:public_name is reset, so user can't edit attr:public_name directly via filetypes etc.
Any ideas?
by , 3 years ago
Attachment: | 0014-Tracker-Add-attr-public_name-localization.patch added |
---|
comment:6 by , 2 years ago
Blocking: | 18110 added |
---|
comment:7 by , 20 months ago
Hello.
It turns out a strange thing.
If this is implemented for "Name", then why can't it be implemented for the rest of the labels? For example, like this - see the attached file "PeopleApp.cpp" (of course, I'm a so-so programmer, but nonetheless).
It turns out that the program takes the values for the inscriptions from the MIME types of the FileTypes program. If you change the name of the type to Ukrainian there, then the inscription in the "People" window will also change. (See screenshots)
All files placed in Attachments.
by , 20 months ago
Attachment: | FileTypes - People.png added |
---|
by , 20 months ago
Attachment: | FileTypes-Fax.png added |
---|
by , 20 months ago
Attachment: | FileTypes-Fax-uk.png added |
---|
by , 20 months ago
Attachment: | FileTypes-People-change.png added |
---|
comment:8 by , 20 months ago
This will not have the attributes translated in Tracker views, though.
The above proposed change by mt is probably closer to the correct solution and will work everywhere. However, as he noted, it appears to not work in a variety of circumstances. So more investigation is needed.
comment:9 by , 20 months ago
Hello.
With help from active community members, I was able to recompile the People program with the changes I made to the "PeopleApp.cpp" file.
Everything turned out and works. (see screenshot for confirmation) Not only for me, but also in the Russian locale too. Checked.
by , 20 months ago
Attachment: | People-uk.png added |
---|
comment:10 by , 20 months ago
"This will not have the attributes translated in Tracker views, though."
So we need to think further. And most importantly, do something. 12 years since the ticket has been opened!
I consider this to be a bug, not an enhancement.