J'ai téléchargé la bibliothèque Three20:Utilisation Localizable.strings dans l'application iPhone
et j'ai ouvert l'exemple de projet TTCatalog qui vient avec cette bibliothèque:
http://img16.imageshack.us/img16/3183/screenshot20100302at752.png
Comme vous pouvez voyez, il y a beaucoup de fichiers Localizable.strings.
Quand j'ai ouvert le simulateur iPhone et changé sa langue par exemple français dans les paramètres, le texte sur le bouton reste toujours en anglais:
http://img69.imageshack.us/img69/9775/screenshot20100302at812.png
je l'ai déjà vérifié qu'il ya certainement un correspondant entrée pour le texte "Voir tout" dans les chaînes de localisation du français. Pourquoi et comment faire pour utiliser les fichiers Localizable.strings?
(Ce projet d'exemple ne vient pas avec une plume/fichier xib)
EDIT:
Après avoir ajouté le code XML suivant dans Info.plist:
...
<dict>
...
<key>CFBundleLocalizations</key>
<array>
<string>de</string>
<string>en</string>
<string>es</string>
<string>fr</string>
<string>it</string>
<string>ja</string>
<string>zh_cn</string>
<string>zh_tw</string>
</array>
</dict>
...
Il fonctionne maintenant!
Merci beaucoup pour votre aide. Ça fonctionne maintenant. – bobo