지원되는 파일 유형(Strings)

Play Framework Properties

컨텐츠는 영어 텍스트를 Phrase Language AI를 이용해 기계 번역한 것입니다.

파일 확장명 

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

API 확장 

play_properties

가져오기 

내보내기 

복수형 지원 

아니요

설명 지원 

형식 옵션 

파일이 업로드되거나 다운로드될 때 지정할 수 있는 옵션입니다. 업로드/다운로드 방법(API, CLI, Repo sync 등)에 따라, 쿼리 매개변수 업로드, 다운로드 또는 phrase.yml 구성 파일에서 지정할 수 있습니다.

escape_single_quotes

Play Framework는 Scala를 기반으로 한 널리 사용되는 웹 개발 프레임워크입니다. Play Framework는 지역화 및 국제화를 지원합니다. 표준 지역화 파일 형식은 Play Framework Properties 파일입니다. 이들은 Phrase를 사용하여 가져오고 내보낼 수 있습니다. Play Framework Properties 파일은 Java Properties 파일과 동일한 파일 구조를 공유합니다(즉, =로 연결된 키-값 문자열 쌍). 그들의 차이는 주로 파일 확장자에 있습니다. Java Properties 파일은 종종 .properties로 끝나는 반면, Play Framework Properties 파일은 일반적으로 로케일 기반 규칙을 따릅니다(예: messages.en/messages.de).

형식 옵션

식별자 

escape_single_quotes

유형 

부울

업로드 

다운로드 

기본값 

true

설명 

단일 인용부호는 다른 단일 인용부호로 이스케이프합니다(예: 나는나는''으로).

코드 샘플

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 = 단 하나의 복수형이 발견되었습니다.
pluralized_key.other = 와우, 당신은 %s개의 복수형을 가지고 있습니다!
pluralized_key.zero = 복수형이 없습니다.
sample_collection = ---\n- 첫 번째 항목\n- 두 번째 항목\n- 세 번째 항목\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.