简体   繁体   English

在哪里/如何查找/提取官方 android os(开源)翻译/本地化/词汇表字符串

[英]where/how to find/extract official android os (open source) translation/localization/glossary strings

Since the open source android ( https://source.android.com ) is available in multiple languages, can I somehow find/extract all the translated strings in the OS so I can use them as a reference for my own app's translation?由于开源 android ( https://source.android.com ) 有多种语言版本,我能否以某种方式在操作系统中找到/提取所有已翻译的字符串,以便将它们用作我自己的应用程序翻译的参考? (for example for error messages...) (例如错误消息...)

Or is this list available somewhere?或者这个列表在某处可用?

Probably harder to get, but I'd also like to ask the same question for the official non-open source version...可能更难得到,但我也想为官方的非开源版本问同样的问题......

FYI, I'm not really a developer, just a translator..仅供参考,我不是真正的开发人员,只是一名翻译。

Thanks!谢谢!

Or is this list available somewhere?或者这个列表在某处可用?

Much of it is on your hard drive.其中大部分都在您的硬盘上。

Go to platforms/.../data/res/ inside of your Android SDK, where ... is a directory based on the Android version you want (eg, android-25 for Android 7.1).转到Android SDK 中的platforms/.../data/res/ ,其中...是基于您想要的Android 版本的目录(例如,Android 7.1 的android-25 )。 There, you will see a set of resource directories, just like the ones that you might have in your own project.在那里,您将看到一组资源目录,就像您在自己的项目中可能拥有的目录一样。 This includes hundreds upon hundreds of values-.../ directories, mostly for various languages.这包括成百上千个values-.../目录,主要用于各种语言。 Those will each have a strings.xml file with various strings from the Android framework and elsewhere within Android.它们每个都有一个strings.xml文件,其中包含来自 Android 框架和 Android 其他地方的各种字符串。

AOSP apps will have their own translations, and you would need to rummage around those projects for theirs. AOSP 应用程序将有自己的翻译,您需要为他们的项目翻遍这些项目

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

相关问题 我在哪里可以找到物理词汇表 android 应用程序的源代码? - Where can I find source code of physics glossary android application? Android本地化:仅查找应用程序中使用的字符串 - Android localization: find only the strings that are used in the app 在哪里可以找到 android Espresso 库的开源代码 - Where to find open source code of android Espresso library 如何在Stripe Android字符串中添加本地化? - How to add localization to Stripe Android strings? 如何找到官方android studio老版本 - How to find official android studio older versions 在哪里可以找到官方Android库的最新发行版本? - Where to find latest release versions for official Android libraries? 哪里可以找到Android SDK的官方galaxy选项卡模拟器? - Where i can find the official galaxy tab simulator for the android SDK? 实现一个android webkit插件,在哪里可以找到官方文档? - implementing a android webkit plugin, where to find the official doc? 我在哪里可以找到Android的Gmail,Facebook和Twitter应用程序的源代码?他们甚至是开源的吗? - Where can I find the source code for the gmail, facebook, and twitter apps for android? Are they even open source? 在官方 Android Emulator 上安装 ARM Translation (libhoudini) - Install ARM Translation (libhoudini) on official Android Emulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM