Hi, I am trying to localize my app for South African specific languages, more specifically, Xhosa and Zulu, however, using strings.xml files and localizing the language based on the phones settings won't work as those languages are unsupported on android officially.
I was wondering is there a way to hard-code such translations or in a way, trick the system, allowing me to code translations for Xhosa under the guise of it being french, and in the app, when the user selects the language they wish to use, change the phones language settings programatically, in essence changing the phones language setting to french under-which is the Xhosa translations.
If using strings.xml and tricking the system is not possible or recommended, how would one be able to hard-code the translations such as store the translations in a text file and then load it from there and assign it to the text fields and buttons and other variables?
And if it is possible, how can I do this?
Any assistance in this regard would be greatly appreciated.
I was wondering is there a way to hard-code such translations or in a way, trick the system, allowing me to code translations for Xhosa under the guise of it being french, and in the app, when the user selects the language they wish to use, change the phones language settings programatically, in essence changing the phones language setting to french under-which is the Xhosa translations.
If using strings.xml and tricking the system is not possible or recommended, how would one be able to hard-code the translations such as store the translations in a text file and then load it from there and assign it to the text fields and buttons and other variables?
And if it is possible, how can I do this?
Any assistance in this regard would be greatly appreciated.