This is also how localized special folder names (Documents, Pictures etc) work in Windows. And I think it's also the same in KDE and Gnome?
well, gnome creates folders in whatever language you installed with, tho it can translate the file manager's sidebar items, I think...
so a change of locale means you'd still have the old dir left, and show as old name everywhere except the special shortcuts
Re:Localisation is too hard for Gmail
by londons_explore on Wednesday October 21, 2020 @09:55AM
(#24847900)
Only in the search index... If you try to install your application in "C:\Program Files\" on a non-english version of windows, you'll have a bad time...
Not since Vista. These days, you'll always have "Program Files", and if you have the OS configured for a different locale, it'll create a hard link for the localized name. The Windows shell (including the standard file picker dialogs etc) will also use the localized name preferentially whenever it has to display a path that contains one of those folders, but still allows verbatim paths to be used wherever text input is allowed.
Re:Localisation is too hard for Gmail
by kryptiskt on Wednesday October 21, 2020 @10:33AM
(#24848253)
I use Swedish Windows, and here "C:\Program\" (the localization) and "C:\Program Files\" both work fine and go to the same place.
AppleScript, for all its faults, handled localization quite impressively. It parsed the whole script into an abstract representation, and could then could display it in another language as needed.
Re:Localisation is too hard for Gmail
by srtjstjsj on Thursday October 22, 2020 @05:23PM
(#24863447)
But none of those languages was a sane programming language.
The vocabulary doesn't matter when the grammar is an incomprehensible pidgin.
Apple script is the quintessential Jobsian "form, not function"
Re:Localisation is too hard for Gmail
by saagarjha on Wednesday October 21, 2020 @01:15PM
(#24849902)
Sadly this feature never got used for making a better frontend to it :(
Re:Localisation is too hard for Gmail
by asveikau on Wednesday October 21, 2020 @01:58PM
(#24850362)
I think this is a good solution, but gmail also lets you create a filter based on a search. So if search is sensitive to the current locale, your filters could break changing the language. [Maybe filters made from searches against a localized label could be converted to language-neutral at storage time...]
In the case of Gmail, it would mean that you could search both for in:Bin and in:Trash. The only issue would be if someone creates an additional Bin label in a US locale, then in UK, when searching for that label it would also show items in the trash but that's a better trade of I think.