Arabic input field
8 years 2 months ago - 8 years 2 months ago #1796
by amerzad
Arabic input field was created by amerzad
Hello,
I wonder if I2 Localization supports Arabic input fields with all standard features and shortcuts like cursor navigation, selection, copy/paste,... and if not, is there any other way to support this in Unity3D?
I wonder if I2 Localization supports Arabic input fields with all standard features and shortcuts like cursor navigation, selection, copy/paste,... and if not, is there any other way to support this in Unity3D?
Last edit: 8 years 2 months ago by amerzad. Reason: Typo
Please Log in or Create an account to join the conversation.
8 years 2 months ago #1799
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Arabic input field
Unfortunately no, I2 Localization doesn't implement custom input fields, it relies on NGUI, Unity UI, TextMesh Pro, etc.
Said that, it could be interesting to have a workaround/component to handle input fields. I will look into this and get back to you.
Given that the code for Unity UI is not shipped with Unity (and the repository that has it is not up-to-date), then you will have to create a custom component that do the same the input field does but applies the RTL fix. A way to start this, is by downloading the code from the repository, make a copy of the input field class and change the text generator function.
I will see if I can include that as a new feature. However, the next release is already full of features (you can see that in the roadmap) but I can definitively add it for the release after that.
Thanks for the suggestion!
Frank
Said that, it could be interesting to have a workaround/component to handle input fields. I will look into this and get back to you.
One way to quickly handle it in NGUI and TextMeshPro is to override the TextGeneration function so that it applies the RTL fix right before generating the quads used for rendering. That way it can store the regular text (which solves the copy/paste, navigation, etc) but still render correct Arabic texts.is there any other way to support this in Unity3D?
Given that the code for Unity UI is not shipped with Unity (and the repository that has it is not up-to-date), then you will have to create a custom component that do the same the input field does but applies the RTL fix. A way to start this, is by downloading the code from the repository, make a copy of the input field class and change the text generator function.
I will see if I can include that as a new feature. However, the next release is already full of features (you can see that in the roadmap) but I can definitively add it for the release after that.
Thanks for the suggestion!
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds