Search code examples
reactjsreact-nativeurdu

How to Write Urdu Language in React Native App


I am developing a react native app in which I have to use two languages(Urdu & English) at the same time. This means some screens will be in English language and some will be in Urdu. I have searched about it but found Localization every time which probably not the solution to this problem as I am not translating the whole app. How I can write both these languages in an app?


Solution

  • I solved it by following steps.

    1. Write urdu in inpage.
    2. Convert Inpage Urdu to Unicode using any converter online.
    3. Paste Converted text in Application inside <Text> </Text>.

    It will be your urdu text as you want.

    You can also use "Jameel Noori Nastaleeq" fonts for better urdu in application.