Urdu Language integration in PlayCanvas

Hi,
I want to integrate urdu language in my game. I have used urdu font but the words are broken down to characters in game.

Thanks

Are you using this RTL project scripts for Urdu and are you processing the presentation forms for the font?

https://developer.playcanvas.com/en/tutorials/right-to-left-language-support/

Can you provide a font that is using these presentation forms?

There’s one in that project that I linked to or have I got some languages mixed up here?

Yeah Arabic and Urdu are different languages

Ah, not sure about Urdu myself then. Do they have presentation forms?

Hey Hassan Have you been able to fix the problem?

Hey Majid,
Unfortunately, no. Playcanvas does support RTL, but it’s primarily designed for Arabic languages. I tried using it for Urdu but the configuration caused some words to separate incorrectly.
However, you can use HTML outside of the canvas to implement Urdu text. It may take some time, but it would be a more effective solution.

Hey guys, I found a solution that works for me and playable on Android and Windows:

https://playcanvas.com/project/1324743/overview/rtl-persian-support

in this project there is a Vaziri font which is render able for PlayCanvas Engine, you just need a third party like this one:

type your words in it then make it Farsi and copy paste it in your Text Element.

1 Like

Isnt urdu basically hindi in arabic script, sort of like pinyin?