[英]Xamarin.iOS how can I localized storyboard and nib files
how can I add new language at Xamarin.iOS 如何在Xamarin.iOS中添加新语言
I follow this tutorial to add new language but I stuck in localization of StoryBoard and nibs 我按照本教程添加了新语言,但是我坚持使用StoryBoard和笔尖的本地化
should I create these directories manually 我应该手动创建这些目录吗
I mean Base.lproj Directory and move my storyboard inside it , then create my language directory inside Resources and include MainStoryboard.strings
file 我的意思是说Base.lproj目录并在其中移动我的情节提要 ,然后在Resources中创建我的语言目录并包含
MainStoryboard.strings
文件
and if yes how can I get all ids of my controls 如果是的话,如何获得控件的所有ID
Sample of what I am asking for 我要的样品
"SXg-TT-IwM.placeholder" = "nombre de la tarea"; “ SXg-TT-IwM.placeholder” =“ nombre de la tarea”;
should I do manually or there are away in Xamarin.iOS 我应该手动执行还是Xamarin.iOS中没有
You need to create manually for the folder and files.For the id of all your controls, you will need to check inside your storyboard file->Properties pane->Widget->Localization ID. 您需要手动创建文件夹和文件。对于所有控件的ID,您需要在故事板文件->“属性”窗格->小部件->本地化ID中进行检查。 The following is images from Xamarin guide:
以下是Xamarin指南中的图片:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.