Lime project.xml languages tag

As I see in lime templates for iOS and Android we have languages tag

<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	::if (languages != null)::<key>CFBundleLocalizations</key>
	<array>::foreach languages::
		<string>::__current__::</string>::end::
	</array>::end::
	<key>CFBundleDisplayName</key>
...

direct changes in templates/…/{{app.file}}-Info.plist works:

<key>CFBundleLocalizations</key>
<array>
    <string>en</string>
    <string>de</string>
    <string>fr</string>
...

however, is there correct way to use languages tag?

<section if="ios">
    <languages>en de fr</languages>
...

doesn’t seem working

The format according to the documentation is

<language name="en-US" />

For your example, you would want

<section if="ios">
    <language name="en" />
    <language name="de" />
    <language name="fr" />
</section>
2 Likes

Thanks,
now it works fine