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

Play Framework プロパティ

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

ファイル拡張子 

.de, .fr, .en,...

API拡張 

play_properties

インポート 

はい

エクスポート 

はい

複数形のサポート 

いいえ

説明のサポート 

はい

フォーマットオプション 

ファイルがアップロードまたはダウンロードされる際に指定できるオプションです。アップロード/ダウンロード方法(API、CLI、リポジトリ同期など)に応じて、クエリパラメータ アップロードダウンロード または phrase.yml 設定ファイルに指定できます。

escape_single_quotes

Play Framework は、Scala に基づいた広く使用されているウェブ開発フレームワークです。Play Framework は、ローカリゼーションと国際化をサポートしています。標準のローカリゼーションファイル形式は、Play Framework プロパティファイルです。これらは Phrase を使用してインポートおよびエクスポートできます。 Play Framework プロパティファイルは、Java Properties ファイル と同じファイル構造を共有しています(すなわち、= で接続されたキー-バリュー文字列ペア)。彼らの違いは主にファイル拡張子にあります。Java Properties ファイルは通常 .properties で終わりますが、Play Framework プロパティファイルは通常、ロケールベースの規則に従います(例:messages.en/messages.de)。

ファイル形式オプション

識別子 

escape_single_quotes

タイプ 

ブール

アップロード 

はい

ダウンロード 

はい

デフォルト 

true

概要 

シングルクォートは別のシングルクォートでエスケープします(例:I'mI''mに)。

コードサンプル

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 = 
pluralized_key.one = プルラリゼーションが1つだけ見つかりました。
pluralized_key.other = わあ、あなたは%sのプルラリゼーションを持っています!
pluralized_key.zero = プルラリゼーションはありません。
sample_collection = ---\n- first item\n- second item\n- third item\n
simple_key = Just a simple key with a simple message.
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.