bugGNUstep - Bugs: bug #34838, can't localize resources residing...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #34838: can't localize resources residing on subdirectories

Submitted by:  julian <julian_>
Submitted on:  Tue 15 Nov 2011 11:25:57 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 15 Nov 2011 11:25:57 PM UTC, original submission:

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.

julian <julian_>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by julian_ (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup