If I misunderstood your question, you want to install a font (for example: Helvetica for English, Arial for Hindi, etc.) on your text file.
Well, you can do it if you get the device locale at startup, if you get the Arial font in Hindi and set it to a text representation, otherwise you will get Helvetica.
Typeface face = Typeface.createFromAsset(getAssets(), "fonts/Helvetica.ttf"); tv.setTypeface(face);
You can do an “if” using Locale.getDefaultLocale and Locale.forLanguageTag (languageTag)
Note. I simplified the example with Arial and Helvetica, but I know that you are talking about multilingual fonts, just change the fonts.
It helps?
source share