IOS中的多语言设计支持 [英] Multi Language Design support in IOS

查看:169
本文介绍了IOS中的多语言设计支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发支持多国语言的ios应用.

I want to develop ios app which support multi language, country wise.

因此,当应用程序将支持英语时,其设计应从左至右,而当应用程序将支持阿拉伯语时,则设计/文本应从右至左.

So when app will supporting English language, its design should be left to right and when app will supporting arabic language for example then, design/text should be right to left.

那么任何机构对此功能有任何想法吗?还是我们需要以编程方式对其进行管理?

So any body has any idea for this functionality? Or we need to manage it programmatically manage?

谢谢

沙迪克(Hardik Shah)

Hardik Shah

推荐答案

正如Mike Weller在其评论中提到的那样,自动布局"应该这样做:

As Mike Weller mentioned in his comment, Autolayout should do this:

您甚至不必为希伯来语和阿拉伯语等语言指定新的布局,在这些布局中,元素本身从左到右的顺序通常应该颠倒."

"You don’t even have to specify new layout for languages like Hebrew and Arabic in which the left to right ordering of elements themselves should generally be reversed."

这个问题似乎已经回答了好几次,包括以下内容:

This question seems to have been answered a couple of time before, including here:

>从右到左在同一应用中使用正确的语言?

,此处用于确定语言的方向:

and here for determining which direction the language should be:

iOS:确定设备语言是否正确左(RTL)

这篇关于IOS中的多语言设计支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆