Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个 Android 应用程序。我已将 SQLite 文件放在 res/raw 中。它工作得很好。现在我想在我的应用程序中添加其他语言,因此需要翻译应用程序。
您认为使用翻译后的 DB 最简单的方法是:修改原始 SQLite DB,或者创建新的 DB 并将它们放入 res/raw-fr、res/raw-de.. 中?
我建议不要将字符串存储在 DB 中,而只存储键,这些键以 xml 中的字符串为目标。