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

Group
 
 

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

Submitter:  julian <julian_>
Submitted:  Tue 15 Nov 2011 11:25:57 PM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 09 Apr 2017 06:49:20 AM UTC, comment #1: 

Documentation in Instances/resource-set.make  I guess the stuff in make/Documentation should make it clear that it's just an overview, with detailed documentation there.
The use of a suibfolder is documented to be specified with xxx_RESOURCE_FILES_DIR (defaults to the current directory).

Richard Frith-Macdonald <CaS>
Group Member
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_>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by julian_ (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-09 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code