根据android中的国家/地区位置更改上下文语言

时间:2012-06-25 11:08:33

标签: android

我正在做一个项目,它将完成,但我面临一个问题,即发布项目。目前,该项目的背景是英文。但要求就像,根据国家的位置,上下文将会改变,例如日语,西班牙语,中文等。所以我关注的问题是如何做到这一点? 敌人英语我写得像:

   <string name="bookedittext">EDIT</string>
    <string name="button_delete">Delete</string>
    <string name="button_delete_cancel">Cancel</string>
    <string name="button_back">Back</string>
    <string name="progress_deleting">Deleting...</string>
    <string name="share_message_conf_delete">Do you want to delete?</string>
    <string name="share_message_conf_delete_all">Do you want to delete all?</string>
    <string name="TEXT_SHARE_VIA">Share Via</string>
    <string name="TEXT_CONTENT">Image content</string>
    <string name="TEXT_SELECT_APPLICATION">Select an Application</string>
    <string name="TEXT_MORE_OPTIONS">More Options</string>
    <string name="TEXT_FACEBOOK">Facebook</string>
    <string name="TEXT_KAKAO_TALK">Kakao Talk</string>
    <string name="TEXT_SKYPE">Skype</string>
    <string name="TEXT_KIK">Kik Messanger</string>
    <string name="TEXT_FRING">Fring Messenger</string>
    <string name="TEXT_TWITTER">Twitter</string>
    <string name="TEXT_YAHOO">Yahoo Messenger</string>
    <string name="TEXT_USE_FOR_DEFAULT">Use this by default action</string>
    <string name="TEXT_USE_FOR_BACK">Back</string>

请帮助我如何将这些转换为日语?

1 个答案:

答案 0 :(得分:0)