Hi and thank you, as always.
The new functionalities of the last version work and help me a great way, meanwhile I'm also much more familiar with the AC code.
I need just a few more hints to fully implement Arabic support.
1) Right to left writing backspace
When I sue the backspace on right to left it cancel the first letter, not the last one, as it should.
2) Arabic input
I'm trying to insert arabic letters in the input, but they seems to be unauthorized.
I'm exploring the MenuInput.cs, but I'm not sure what to touch.
3) Apply arabic translation while importing translation
I need to import the arabic translation into the game, but I need to apply few changes.
For example I need to add some scripts before adding the text to the menus.
Ex.
If translation is french
-> simply import translated text
-> apply translated text to everything (subtitles, menus etc)
If translation is arabic
-> import translation
-> apply script to imported text
-> apply translated/updated text to everything (subtitles, menus etc)
Where I could add it the script?
4) Subtitles from right to left
I can use subtitles from right to left, but they show the last letter, not the first one.
(They start showing the text from right to left, but they keep showing the first word on the left as first and then add others on the right)
They should be showing:
987654321
Starting from 9 and then reaching 1
Instead they show
123456789
Starting from 1 and then reaching 9.
Which code I need to adjust to apply this change?
Thank you very much.
Comments
2) Is not using a custom font not enough? I'd imagine this'd be the solution with other alphabets, such as Chinese, too.
3) Make the changes before importing the translation text. You can do this outside of Unity, even - the text files are supposed to be edited in e.g. Excel.
4) You're confusing the text-alignment with being able to reverse the text. Currently, there is no way to reverse labels in the same way as Inputs, but I'll add this if it's necessary for Arabic support.
This tutorial goes through the steps of creating a new translation.
Will try that!