지원되는 파일 유형(Strings)

.PROPERTIES - Java Properties (Strings)

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

파일 확장명 

.properties

API 확장 

properties

가져오기 

내보내기 

복수형 지원 

아니요

설명 지원 

형식 옵션 

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

escape_single_quotes

omit_separator_space

crlf_line_terminators

escape_meta_chars

Java Properties는 일반적으로 Java에서 사용되는 표준 구성/지역화 파일입니다. 이 파일 형식은 = 기호로 연결된 키-값 쌍을 포함합니다. 이 외에는 다른 계단식 요소가 없습니다. 파일의 은 항상 문자열 유형으로 구문 분석됩니다.

중복 키(파일에 두 개 이상의 동일한 키가 포함됨)는 문제가 되지 않아야 하지만, 프로세스에서 나중에 로드된 값이 이전 데이터를 덮어씁니다. 번역을 위해 파일을 준비할 때, Java IDE(예: Eclipse, IntelliJ)에 속성 파일을 넣어 중복 키를 확인하세요.

형식 옵션

식별자 

escape_single_quotes

유형 

부울

업로드 

다운로드 

기본값 

true

설명 

단일 인용부호는 다른 단일 인용부호로 이스케이프하세요(예: I'm -> I''m).

식별자 

omit_separator_space

유형 

부울

업로드 

아니요

다운로드 

기본값 

false

설명 

구분 기호(= ) 앞뒤의 공백을 건너뜁니다.

식별자 

crlf_line_terminators

유형 

부울

업로드 

아니요

다운로드 

기본값 

false

설명 

CRLF(Windows) 줄 종료 문자 사용.

식별자 

escape_meta_chars

유형 

부울

업로드 

아니요

다운로드 

기본값 

true

설명 

메타 문자를 이스케이프합니다(:=!#) 백슬래시 사용

코드 샘플

boolean_key = --- true\n
empty_string_translation = 
# 이 키에 대한 놀라운 설명입니다!
key_with_description = 확인해 보세요\! 이 키에는 설명이 있습니다\! (최소 일부 형식에서)
key_with_line-break = This translations contains\na line-break.
nested.deeply.key = Wow, this key is nested even deeper.
nested.key = This key is nested inside a namespace.
null_translation = 
pluralized_key.one = Only one pluralization found.
pluralized_key.other = Wow, you have %s pluralizations!
pluralized_key.zero = You have no pluralization.
sample_collection = ---\n- 첫 번째 항목\n- 두 번째 항목\n- 세 번째 항목\n
simple_key = Just a simple key with a simple message.
unverified_key = This translation is not yet verified and waits for it. (일부 형식에서 이 상태 내보내기 수도 있습니다.)
도움이 되었습니까?

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.