[CMake] Localisation (.lproj) files in Xcode

Francisco Manjavacas txikomb at yahoo.es
Mon Oct 18 14:06:53 EDT 2010


Hi all,

I've been searching for the last few days through the mailing-lists, Wiki and the Internet and couldn't find anything similar to what I am looking for, so I thought I would post my question with the hope that someone (please) can help.

We've been developing our iPhone/iPod projects using cMake as a tool to create the Xcode project, and it has all worked flawlessly for the last months. However, it turns out we now need some localisation, for which we need both English and German .xib files (or .strings to generate them, that's not the important bit). We have the files in the right place and correctly created, but when cMake generates the project, the files are inserted into the Xcode project as two completely separate and independent files, such as:

Foo.xib
Foo.xib

Instead of two "sub-files" under the same name:

Foo.xib
- Foo.xib (English)
- Foo.xib (German)

However, there seems to be hardly any information regarding this issue, and the only thing that gave me a clue was the Wiki, which says "The .lproj "Data Bundles" are not currently supported. You must create 
and manage them outside of Xcode. The string to look for in a pbxproj 
file is "PBXVariantGroup"." (found here: http://www.cmake.org/Wiki/CMake:Bundles_And_Frameworks).

Now, since that wiki entry seems to be from 2006, I thought that some progress/changes may have been made since then. Is it still true that .lproj are not supported yet?? Is there no actual way to generate the Xcode projects with the .lproj bundles working? I hope there is something out there, otherwise it would be such a pain... :(

To me it seems to be quite a basic issue, which is why I cannot really understand how little information is available regarding this issue, but I honestly couldn't find anything at all apart from that Wiki entry and this message: http://www.cmake.org/pipermail/cmake/2010-May/037065.html, where apparently the issue was not solved. 

Any information would be much appreciated. Many thanks in advance,
Fran




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101018/a4df1c6c/attachment.htm>


More information about the CMake mailing list