Kartelë JSON Format.JS

Shtuar në versionin 5.4.

File format used when translating Format.JS and React-Intl applications.

Shembull kartele:

{
  "hak27d": {
    "defaultMessage": "Control Panel",
    "description": "title of control panel section"
  },
  "haqsd": {
    "defaultMessage": "Delete user {name}",
    "description": "delete button"
  },
  "19hjs": {
    "defaultMessage": "New Password",
    "description": "placeholder text"
  },
  "explicit-id": {
    "defaultMessage": "Confirm Password",
    "description": "placeholder text"
  }
}
Supported features

File extensions

.json

Linguality

Both monolingual and bilingual

Supports plural

No

Supports descriptions

No

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

No

API identifier

formatjs

Supports read-only strings

No

Check flags added by this format

ICU MessageFormat

Formësim Weblate-i

Typical Weblate Component configuration

Maskë kartele

src/lang/*.json

Kartelë njëgjuhëshe gjuhe bazë

src/extracted/en.json

Gjedhe për përkthime të reja

Empty

Format kartelash

Format.JS JSON file