简体   繁体   English

在iOS上本地化Facebook和Twitter共享面板

[英]Localize Facebook and Twitter Share Panels on iOS

My app uses different languages, within the app the language can be changed and I have share button in my app which shares the images in Facebook and twitter. 我的应用程序使用不同的语言,可以在应用程序中更改语言,并且我的应用程序中有共享按钮,可以共享Facebook和Twitter中的图像。 By default it appears in English. 默认情况下,它以英文显示。 After changing the language in my app to french, The content in Facebook (ie) Post and cancel button should be changed to french. 将我的应用程序中的语言更改为法语后,Facebook(即“发布并取消”按钮)中的内容应更改为法语。 Is it possible and how to do it? 有可能并且怎么做?

You don't have control over the language of the share panels because iOS handles that for you, automatically localizing them based on the setting that the user picked in the iOS settings app. 您无法控制共享面板的语言,因为iOS为您处理了共享面板的语言,并根据用户在iOS设置应用中选择的设置自动对其进行本地化。 Your application probably shouldn't have a localization option in it unless there's a very good reason for it, but in any event, you can't localize the share panel. 除非有充分的理由,否则您的应用程序中可能不应该包含本地化选项,但是无论如何,您都无法对共享面板进行本地化。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM