LRM Android Support
Naming Conventions
Android resources bundles are named strings.xml
. Typically, an Android application will have one strings.xml
base file located under a directory named values
. The corresponding translated resource bundle will be also named strings.xml
and located under a directory named values-fr
(for French) at the same level as values
.
Example strings.xml File For Android
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools"> <string name="menu_find">Find</string> <string name="menu_historical_search">Search Historical Records</string> <string name="person_activity_title">Person</string> <string name="label_person_tree_button">View This Tree</string> <string name="label_person_other">Other</string> <string name="label_person_name">Name</string> <string name="label_person_details">Details</string> <string name="fact_detail_sub_header_reason">Reason This Information Is Correct</string> <string name="fact_detail_footer_modified">Modified</string> <string name="fact_detail_send_email_chooser">Choose an Email Client</string> <string name="fact_detail_send_email_error_no_client">Email app not found</string> <string name="fact_name_label">Name</string> </resources>