Getting Started with Android Programming - Day 47

Learn about Localization today:

strings.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">CrimeIntent</string>
    <string name="crime_title_hint">crime short description</string>
    <string name="crime_title_label">标题</string>
    <string name="crime_details_label">明细</string>
    <string name="crime_solved_label">resolved</string>
    <string name="date_picker_title">crime occurrence date</string>
    <string name="new_crime">Add crime record</string>
    <string name="show_subtitle">Show subtitle</string>
    <string name="hide_subtitle">Hide subtitle</string>
    <string name="subtitle_format">%1$s crimes</string>
    <string name="crime_suspect_text">Suspect contact information</string>
    <string name="crime_report_text">Protest or complaint</string>
    <string name="crime_report">%1$s!
        crime occurred in %2$s. %3$s, y %4$s
    </string>
    <string name="crime_report_solved">Problem resolved</string>
    <string name="crime_report_unsolved">Problem not resolved</string>
    <string name="crime_report_no_suspect">No suspect found</string>
    <string name="crime_report_suspect">Suspect is %s.</string>
    <string name="crime_report_subject">crime processing report</string>
    <string name="send_report">Complaint method</string>
</resources>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325393367&siteId=291194637