URL:
<http://savannah.gnu.org/bugs/?34838>
Summary: can't localize resources residing on subdirectories
Project: GNUstep
Submitted by: julian_
Submitted on: Di 15 Nov 2011 23:25:57 GMT
Category: Makefiles
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
i'm having trouble with gnustep localization facilities.
first of all LOCALIZED_RESOURCE_FILES seems to be completely undocumented, no
mention on the website or in make/Documentation.
the problem is that XXX_LOCALIZED_RESOURCE_FILES does only work with files
residing in the same directory in as the GNUmakefile. it expects that the
Language.lproj folders are next to the GNUMakefile. however my *.lproj folders
are in a subfolder (Resources/).
if thats not obvious, you can specify:
XXX_LOCALIZED_RESOURCE_FILES = Localized.strings
and it will pick up e.g.
=> English.lproj/Localized.strings.
but if English.lproj and the other localization folders are not in the current
path, but in the Resources/ subfolder how would you specify it?
XXX_LOCALIZED_RESOURCE_FILES = Resources/*.lproj/Localized.strings
that needs to be re-thought.
i'm currently working around the issue by not using LANGUAGES and
LOCALIZED_RESOURCE_FILES, but rather specifying the lproj folders right in
RESOURCE_FILES (so the full folders are copied), but that means i have to
strip those folders afterwards of files are not appropriate for the gnustep
version.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34838>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep