[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36764] GUI does not currently support loading with standard locali
From: |
Fred Kiefer |
Subject: |
[bug #36764] GUI does not currently support loading with standard localized directories... |
Date: |
Mon, 02 Jul 2012 20:43:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0 |
Update of bug #36764 (project gnustep):
Category: Gui/AppKit => Base/Foundation
_______________________________________________________
Follow-up Comment #1:
Actually the loading of resources is mostly implemented in base. There we
decide which paths to inspect. Gui has a copy of that code with a different
orde in pathForNibResource: in NSBundleAdditions.m. (This always makes me
wonder where the base order would ever be the more usefull one?)
Whatever you want to change here, should be done in NSBundle.m first.
And please don't remove the old naming schema, it is fine to add the language
codes, but removing the full names would break existing applications.
To me it looks like it would be sufficient to add a few more loops for
language specific directories in
_bundleResourcePathsWithRootPath:subPath:localization: or addBundlePath().
You just need to figure out a nice way to generate these directory names for a
language. Maybe a reverse of the function GSLanguageFromLocale() in
GSLocale.m?
BTW the code there looks wrong as it is always using the first two characters
of the language code, we rather should check for the underscore.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36764>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [bug #36764] GUI does not currently support loading with standard localized directories..., Gregory John Casamento, 2012/07/01
- [bug #36764] GUI does not currently support loading with standard localized directories...,
Fred Kiefer <=
- [bug #36764] GUI does not currently support loading with standard localized directories..., Gregory John Casamento, 2012/07/03
- [bug #36764] GUI does not currently support loading with standard localized directories..., Richard Frith-Macdonald, 2012/07/09
- [bug #36764] GUI does not currently support loading with standard localized directories..., Fred Kiefer, 2012/07/10
- [bug #36764] GUI does not currently support loading with standard localized directories..., Fred Kiefer, 2012/07/21
- Re: [bug #36764] GUI does not currently support loading with standard localized directories..., Gregory Casamento, 2012/07/21
- [bug #36764] GUI does not currently support loading with standard localized directories..., Richard Frith-Macdonald, 2012/07/27
- [bug #36764] GUI does not currently support loading with standard localized directories..., Fred Kiefer, 2012/07/28
- [bug #36764] GUI does not currently support loading with standard localized directories..., Richard Frith-Macdonald, 2012/07/29
- [bug #36764] GUI does not currently support loading with standard localized directories..., Richard Frith-Macdonald, 2012/07/30