Skip to content

4. Some Simple Fixes

krtonga edited this page Jun 19, 2018 · 2 revisions

LAST UPDATED: June 8, 2018


Updating company information

There are two places to update company information in the application.

Assets

In the app/src/MYCOMPANY/assets directory are .json files which are used for navigation pages. Assets are currently used for Payment Options, Tariffs, Contact Us, and FAQs.

Language translations have the same base name and correct language suffix. For example: English translation is in faq-en. Swahili translation is in faq_sw. To add Amharic a file could be added named faq_am. Be sure to make updates in all supported languages!

Strings

Excluding the json files found in the asset directory, all text used in the MajiFix application can be found in app/main/res/values/strings. Translations are found in app/main/res/value-LANGUAGESUFFIX/strings. For example swahili is found in app/main/res/values-sw/strings.

If you want a string to say something different than what is found in the stock MajiFix application, you should override that string in app/COMPANYFLAVOR/res/values/strings and app/COMPANYFLAVOR/res/values-sw/strings

Payment Options

Update MYCOMPANY/assets/payment_instructions_en and MYCOMPANY/assets/payment_instructions_sw.

Tariffs

Update MYCOMPANY/assets/tariffs_en and MYCOMPANY/assets/tariffs_sw.

Contact Us

Update MYCOMPANY/assets/contact_us_en and MYCOMPANY/assets/contact_us_sw.

FAQs

Update MYCOMPANY/assets/faq_en and MYCOMPANY/assets/faq_sw.

New Connection Procedures

This is in a string resource: update new_connection_default_description

# TODO: Be sure to include in this wiki
# Changing the name of the application

# Changing the launcher icon of the application

# Changing the logo of the application

# Testing a network call

Clone this wiki locally