ios - 如何本地化应用程序图标?

标签 ios localization localizable.strings

我很擅长在应用程序中本地化字符串和图像。但我在尝试将应用程序图标本地化为我支持的语言(英语和德语)时遇到了很多困难。

这可能吗?根据Apple文档,您可以:

An iOS application should be internationalized and have a language.lproj folder for each language it supports. In addition to providing localized versions of your application’s custom resources, you can also localize your application icons and launch images by placing files with the same name in your language-specific project directories. Even if you provide localized versions, however, you should always include a default version of these files at the top-level of your application bundle. The default version is used in situations where a specific localization is not available. For more information about localized resources, see “Localized Resources in Bundles.”

我尝试过这样做,但没有成功。似乎没有任何有用的资源?

我尝试过的其他事情:

Localized App Icons with Retina Display for iOS

https://iphonedevsdk.vanillaforums.com/forum/iphone-sdk-development/77660-i-have-problem-localizing-application-icon.html

有人成功实现了本地化应用图标吗?

最佳答案

自 iOS 4.0 以来,这似乎不再可能了。截至 2015 年,documentation已更新,现在仅声明启动图像可以本地化(但不再提及应用程序图标)。

2010 年,一位 Apple 员工在开发者论坛(需要登录)上证实了这不起作用的事实: https://devforums.apple.com/message/330960

Bugreports 已提交多年,但没有任何变化。我想苹果希望你在世界各地的应用程序中使用相同的图标 - 或者为特定市场创建单独的应用程序。

关于ios - 如何本地化应用程序图标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55525577/

相关文章:

ios - Cocos2d v3.0 - 使用带动画的物理编辑器

c# - Microsoft Sans Serif 字体未在中文本地化 Windows 中使用

android - 使用 Prop 将标题添加到导航栏 ReactNative

objective-c - 如何播放警报声音并呈现自定义 View 而不仅仅是通知?

c# - 从 LINQ to SQL 调用 SQL Server 存储过程时无法将 nvarchar 转换为日期时间

ios - Swift:Storyboard 中的本地化 - 标签未添加到 Main.strings?

iphone - Xcode 项目目录中出现重复的 Storyboard 文件。勉强能够运行项目

ios - 可本地化的字符串和默认值

ios - 为什么我的图像在运行 iOS 6 的 iPod 上以纵向模式拍摄时被设置为 UIImageOrientationRight?

php - Laravel Blade @lang() 本地化中的多元化?