Tipi di file supportati (Strings)

JS EmberJS - Nested JSON (Strings)

Contenuti tradotti automaticamente dall'inglese con Phrase Language AI.

Estensioni dei file

.js

Estensione API

ember_js

Importa

Esporta

Supporto forme plurali

Supporto descrizione

No

ember-i18n su GitHub

Campione di codice

export default {
  "boolean_key": "--- true\n",
  "empty_string_translation": "",
  "key_with_description": "Guarda qui! Questa chiave ha una descrizione! (Almeno in alcuni formati)",
  "key_with_line-break": "Questa traduzione contiene\nun’interruzione di riga.",
  "nested": {
    "deeply": {
      "key": "Wow, questa chiave è nidificata ancora più profondamente.”
    },
    "key": "Questa chiave è nidificata in uno spazio dei nomi."
  },
  "null_translation": null,
  "pluralized_key": {
    "one": "Trovata solo una pluralizzazione.",
    "other": "Wow, hai %s pluralizzazioni!",
    "zero": "Non hai alcuna pluralizzazione."
  },
  "sample_collection": [
    "first item",
    "second item",
    "third item"
  ],
  "simple_key": "Solo una chiave semplice con un messaggio semplice.",
  "unverified_key": "Questa traduzione non è ancora verificata. (In alcuni formati esportiamo anche lo stato)"

Plurali per file JSON

Il formato più comune di messaggi di chiavi plurali su varie librerie:

"messages": {
    "one": "Un messaggio ricevuto.",
    "other": "%s messaggi ricevuti.",
    "zero": "Nessun messaggio ricevuto."
}
Questo articolo ti è stato utile?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.