i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zh_Hans-CN" instead of "zh_CN"

Fixed, not yet flighted Issue #11450491

Details

Created
Mar 30, 2017
Privacy
This issue is public.
Found in build #
15.15063
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

i18n.getMessage() does not work on Chinese builds due to the fact that the language code changed from zh_CN to zh_Hans-CN.

A workaround is to include either a “zh” or a “zh_Hans-CN” folder in the extension’s _locales folder rather than using a “zh_CN” one

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Title from “i18n does not work in RS2 builds” to “i18n.getMessage() does not work in RS2 builds”

      Changed Assigned To to “Chee C.”

      Changed Title from “i18n.getMessage() does not work in RS2 builds” to “i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zn-Hans_CN" instead of "zh_CN"”

      Changed Assigned To from “Chee C.” to “Akshay P.”

      Changed Assigned To from “Akshay P.” to “Anshul K.”

      Changed Status to “Confirmed”

      Changed Title from “i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zn-Hans_CN" instead of "zh_CN"” to “i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zn_Hans-CN" instead of "zh_CN"”

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Title from “i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zn_Hans-CN" instead of "zh_CN"” to “i18n.getMessage() does not work with RS2 Chinese builds since the OS language code returned is now "zh_Hans-CN" instead of "zh_CN"”

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Assigned To from “Anshul K.” to “Arif S.”

      Changed Assigned To from “Arif S.” to “Scott L.”

      Changed Status from “Confirmed” to “Fixed”

      Changed Status from “Fixed” to “Fixed, not yet flighted”

    You need to sign in to your Microsoft account to add a comment.

    Sign in