지원되는 파일 유형(Strings)

.XML - Java 속성 (Strings)

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

파일 확장명 

.xml

API 확장 

properties_xml

가져오기 

내보내기 

복수형 지원 

아니요

설명 지원 

Java 속성 XML은 Java 속성 파일의 XML 상응입니다. Java 속성 파일의 키는 XML의 가입 요소의 속성으로 존재하지만 값은 가입 tags 내부에 중첩된 인라인 텍스트 Strings. 표준 Java 속성 파일에 비하면 XML 유형은 가입 요소에 더 많은 속성을 추가 수 있어 더 많은 유연성을 제공합니다. 예를 들어, 번역을 위해 class=' 번역 가능' 속성이 있는 키만 선택할 수 있습니다.

코드 샘플

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
  <entry key="boolean_key">--- true
</entry>
  <entry key="empty_string_translation"/>
  < 가입 키="key_with_description">검토하세요! 이 키에는 설명이 있습니다! (최소 일부 형식으로)</ 가입>
  < 가입 키="key_with_line-break">이 번역에는
a line-break.</entry>
  < 가입 키="nested.deeply.key">Wow, this 키 is nested even deeper.</ 가입>
  < 가입 키="nested.key">이 키는 네임스페이스 내에 중첩되어 있습니다.</ 가입>
  <entry key="null_translation"/>
  < 가입 one="복수화만 발견되었습니다." other="Wow, %s 복수화가 있습니다!" zero="복수화가 없습니다." 키="pluralized_key"/>
  <entry key="sample_collection">---
- 첫 번째 항목
- 두 번째 항목
- 세 번째 항목
</entry>
  < 가입 키="simple_key">간단한 키, 간단한 메시지, 아주 간단합니다.</ 가입>
  <entry key="unverified_key">이 번역은 아직 확인되지 않아 기다리고 있습니다. (일부 형식에서 이 상태 내보내기 수도 있습니다.)</ 가입>
</properties>
도움이 되었습니까?

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.