8000 All String should be localizable · Issue #1136 · w3c/manifest · GitHub
[go: up one dir, main page]

Skip to content

All String should be localizable #1136

@calidion

Description

@calidion

All manifest strings can be able to use localized strings for internationalization.
They should support at lease two types of definitions:

  1. Direct one string for one language only
"name":  "Web App"   // English only

or

"name":  "网站应用"  // Chinese Only
  1. Multiple languages support
lang: "en",   // fallback language if browser meets none locale strings listed
"name":  {
"en":  "Web App",    // fallback for all en-* browsers or for general  en-* users
"en-US":  "Web App",   // specific string for localized en
"zh": "网站应用”, // fallback for all zh-* browsers  or for general  zh-* users
"zh-CN": "网站应用”, // specific string for localized zh
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0