Tipi di file supportati (Strings)

.JSON - Angular Translate (Strings)

Contenuti tradotti automaticamente dall'inglese con Phrase Language AI.

Estensioni dei file 

.json

Estensione API 

angular_translate

Importa 

Esporta 

Supporto forme plurali 

Supporto descrizione 

No

Angular Translate è un modulo di localizzazione/internazionalizzazione progettato per le applicazioni AngularJS. Angular Translate si integra perfettamente con AngularJS e fornisce agli sviluppatori opzioni flessibili per caricare stringhe localizzate nell'app. Il formato standard dei file di localizzazione per Angular Translate è .JSON. I dati in un file .JSON esistono come coppie di stringhe chiave-valore.

I chatbot IA possono essere molto efficaci nel generare un elenco di chiavi da un file .JSON.

Campione di codice

{
 "boolean_key": "--- true\n",
 "empty_string_translation": "",
 "key_with_description": "Key description!(in some formats)",
 "key_with_line-break": "This translations contains\na line-break.",
 "nested.deeply.key": "I am nested deeply.",
 "nested.key": "And that key is nested inside a namespace.",
 "null_translation": null,
 "pluralized_chiave": "Hai {itemCount, plural, =0 {nessun elemento} =1 {un elemento} other {# elementi}}.",
 "sample_collection": "---\n- first item\n- second item\n- third item\n",
 "simple_key": "I am a simple key with a simple message.",
 "non verificato_chiave": "Non ancora verificato." (In alcuni formati esportiamo anche lo stato)"
}
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.