如何为其他语言创建景观 strings.xml

How to create landscape strings.xml for other languages

如何创建一个文件夹,例如 strings-de.xml 文件用于横向模式?

使用资源文件夹 values-XX-land\

例如:

values-it-land\strings.xml

您可以查看 doc:

Android supports several configuration qualifiers and you can add multiple qualifiers to one directory name, by separating each qualifier with a dash. Table 2 lists the valid configuration qualifiers, in order of precedence—if you use multiple qualifiers for a resource directory, you must add them to the directory name in the order they are listed in the table.