1

Chrome App Store에서 내 앱에 대해 여러 언어를 출시하려고합니다.여러 하위 도메인을 통한 국제화

Chrome App Story 언어 버전을 언어별로 Google의 하위 도메인에 연결하도록 앱을 출시하려고합니다.

예 :

//in manifest.json: 
    "name": "__MSG_appName__", 
    "description": "__MSG_appDesc__", 
    "default_locale": "en", 

//in _locales/en/messages.json: 
{ 
    "appName": { 
    "message": "My App", 
    "description": "The title of the application, displayed in the web store." 
    }, 
    "appDesc": { 
    "message": "This app does something awesome.", 
    "description":"The description of the application, displayed in the web store." 
    } 

    >>>> THIS LANGUAGE SHOULD USE URL - EN.MYDOMAIN.COM 

} 

//in _locales/de/messages.json: 
{ 
    "appName": { 
    "message": "My Application German" 
    }, 
    "appDesc": { 
    "message": "This application does something brilliant in German." 
    } 

    >>>> THIS LANGUAGE SHOULD USE URL - DE.MYDOMAIN.COM 

} 

모두 많은 감사 지원합니다. Chrome App Store에서 언어별로 올바른 로케일 하위 도메인 URL로 리디렉션하도록하려면 어떻게해야하나요?

답변

관련 문제