简体   繁体   English

Xamarin.iOS如何本地化情节提要和Nib文件

[英]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.

相关问题 Xamarin.iOS GPUImage:如何在Xamarin.iOS中使用自定义着色器文件创建GPUImageTwoInputFilter - Xamarin.iOS GPUImage : How can i create GPUImageTwoInputFilter with custom shader file in Xamarin.iOS 在Xamarin.iOS中挑选nib文件 - Picking nib file in Xamarin.iOS Xamarin.iOS MvvmCross模板; 无法打开情节提要 - Xamarin.iOS MvvmCross template; can't open storyboard 人类如何理解Xamarin.iOS Storyboard设计师的模糊布局约束部分? - How can a human understand the Xamarin.iOS Storyboard designer's ambiguous layout constraints section? 如何在Xamarin.ios本机应用程序的自定义控制器类中打开新的故事板? - How do I open a new storyboard from custom controller class in Xamarin.ios native app? 如何通过情节提要(xib?)和以编程方式Xamarin.iOS制作Popup - How to make Popup via storyboard(xib?) and programmatically Xamarin.iOS 如何在Xamarin.iOS中从ADAL获取令牌? - How can I get a token from ADAL in Xamarin.iOS? 如何在我的Xamarin.iOS项目中使用AutoMapper? - How can I use AutoMapper with my Xamarin.iOS project? 如何在 Xamarin.iOS 项目中使用 Google 地图 - How can I use Google Maps in Xamarin.iOS project 我可以在 Xamarin.iOS 中制作 UIMenu 吗? - Can I make a UIMenu in Xamarin.iOS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM