지원되는 파일 유형(Strings)

.JSON - 크롬 메시지 (Strings)

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

파일 확장명 

.json

API 확장 

json

가져오기 

내보내기 

복수형 지원 

아니요

설명 지원 

형식 옵션 

파일을 업로드 및/또는 다운로드할 때 지정할 수 있는 옵션입니다. 업로드/다운로드 방식(API, CLI, Repo 동기화 등)에 따라 문의 매개변수 업로드, 다운로드<3> 또는 phrase.yml 구성 파일에서 지정할 수 있습니다.

아니요

Google은 Chrome 확장에 대해 국제화 지원을 제공합니다. Chrome 확장용의 현지화된 문자열은 종종 messages.json이라는 .JSON 파일에 저장됩니다. 크롬 JSON 파일은 다른 플랫폼에서 현지화를 위해 사용되는 .JSON 파일과 약간 다른 구조를 가지고 있습니다. Chrome JSON의 경우 번역이 필요한 문자열은 각 단위 키 값 쌍 아래에 중첩된 하위 키 메시지에 배치됩니다. 각 키 값 쌍에 설명도 추가할 수 있습니다.

AI 채팅봇은 .JSON 파일에서 키 목록 생성하는 데 매우 효과적입니다.

코드 샘플

{
  "boolean_key": {
    "message": "--- true\n"
  },
  "empty_string_translation": {
    "message": ""
  },
  "key_with_description": {
    "message": "확인해 보세요!" 키에 설명이 있습니다! (일부 형식에서)",
    "description": "I'm a very important description for this key!"
  },
  "key_with_line-break": {
    "message": "This translations contains\na line-break."
  },
  "nested.deeply.key": {
    "message": "  I'm nested deeply."
  },
  "nested.key": {
    "message": "This key is nested inside a namespace."
  },
  "null_translation": {
    "message": null
  },
  "sample_collection": {
    "message": "---\n- 첫 번째 항목\n- 두 번째 항목\n- 세 번째 항목\n"
  },
  "simple_key": {
    "message": "I am a simple key with a simple message."
  },
  "unverified_key": {
    "message": "아직 확인됨 않은 대기 중입니다."}}-end-of-translations- (일부 형식에서는 이 상태도 내보냅니다.)"
  }
}
도움이 되었습니까?

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.