サポートするファイル形式(Strings)

.JSON - Angular Translate (Strings)

本コンテンツはPhrase Language AIの機械翻訳により、英語から翻訳されています。

ファイル拡張子 

.json

API拡張 

angular_translate

インポート 

はい

エクスポート 

はい

複数形のサポート 

はい

説明のサポート 

いいえ

Angular Translateは、AngularJSアプリケーション用に設計されたローカライゼーション/国際化モジュールです。Angular TranslateはAngularJSとスムーズに統合し、ローカライズされた文字列をアプリに読みこむための柔軟なオプションを開発者に提供しています。Angular Translateの標準的なローカライゼーションファイル形式は .JSONです。.JSONファイルのデータには、キーと値のペアが記録されます。

AIチャットボットは、.JSONファイルからキーの一覧を生成するのに非常に効果的です。

コードサンプル

{
 "boolean_key": "--- true\n",
 "empty_string_translation": "",
 "key_with_description": キーの説明!(一部のファイル形式)",
 "key_with_line-break":"This translations contains\na line-break.",
 "nested.deeply.key":"私は深くネストされています。",
 "nested.key":"このキーは名前空間内でネストされています。","このキーは名前空間内でネストされています。"
 "null_translation": null,
 "pluralized_key":"You have {itemCount, plural, =0 {no items} =1 {one item} other {# items}}.",
 "sample_collection": "---\n- first item\n- second item\n- third item\n",
 "simple_key":"私はシンプルなメッセージを持つシンプルなキーです。","シンプルなメッセージを持つシンプルなキーです。",
 "unverified_key":「未検証済み。(一部のフォーマットでは、このステータスにも対応しています)
}
この記事は役に立ちましたか?

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.