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-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep