在同一应用程序中从右向左和从左向右的语言? [英] Right to left and left to right languages in the same app?

查看:97
本文介绍了在同一应用程序中从右向左和从左向右的语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,苹果在应用商店上不允许使用两种不同语言的相同应用,但是如果一种语言从左到右,另一种从右到左怎么办?这意味着不同的菜单,不同的项目位置,不同的UI等(甚至是segues也不同).显然,我不能为此使用regualr本地化. 有解决方案吗?还是我要编写一个很大的应用程序,其中包含很多如果用户使用希伯来语,请转到vc1,否则请转到vc2"?

To my understanding apple doesn't allow 2 identical apps in diferrent languages on the appstore but what if one language is left to right and the other is right to left? That means diferrent menus, different positioning of items, different UI etc' (even the segues are different). Obviously i can't use regualr localization for this. Is there a solution for that or I'm just going to write a very big app with a lot of "if user is using hebrew go to vc1 else go to vc2" ?

推荐答案

考虑iOS 6.0的自动版式功能.

Consider Auto Layout feature of iOS 6.0.

https://developer.apple .com/library/mac/#documentation/UserExperience/Conceptual/AutolayoutPG/Articles/Introduction.html

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

"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."

这篇关于在同一应用程序中从右向左和从左向右的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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