Android针对ES-EC语言的错误语言环境解析 [英] Android wrong locale resolution for ES-EC language

查看:50
本文介绍了Android针对ES-EC语言的错误语言环境解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有下一个本地化版本

I have the next localization in my app:


值-es
values-es-rMX

values
values-es
values-es-rMX

当我将设备的语言环境设置为es_EC(厄瓜多尔)时,我看到了MX文件夹中的字符串!但是,根据教程,我应该从基本ES文件夹中看到字符串(实际上,这就是目标).

When I have locale of the device set to es_EC (Ecuador), I see strings from MX folder! But accordingly to this tutorial, I should see strings from base ES folder (actually, this is the goal).

为什么会发生,如何获得正确的应用行为?
我使用的是 API 级别为 28 的模拟器.

Why is it happening and how can I get correct app behavior?
I'm using an emulator with API level 28.

推荐答案

好吧,答案在

Okay, the answer is on another StackOverflow question, the reason is the same, this is intended behavior for Android system.

这篇关于Android针对ES-EC语言的错误语言环境解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆