区域设置更改后,在通知栏中更改字符串 [英] Change strings in notification bar after a change in the locale

查看:67
本文介绍了区域设置更改后,在通知栏中更改字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只有很少的用于不同语言的string.xml文件,并且当我更改语言环境时,一切正常,我活动中的所有标签都更改了,除了通知中的标签.

I have few string.xml files for different languages, and when I change my locale everything is okey all my labels in my activity are changed except the one in the notification.

是否有类似刷新"命令的内容发送给通知?刷新字符串?

Is there anything like a 'refresh' command to send to the notification? to refresh the strings?

推荐答案

在不同的论坛上已多次报告此问题.也许可以在这里找到最合适的解决方案/解决方法:
android-区域设置通知,需要转储缓存

This issue has been reported number of times on different forums. Probably the most appropriate solutions/workaround can be found here:
android - locale notification, need to dump cache

亲切的问候,

Kind regards,
Bo

这篇关于区域设置更改后,在通知栏中更改字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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