Problem Arabic Language
10 years 3 months ago #232
by titanire
Problem Arabic Language was created by titanire
Hello,
When i put an arabic character in Language source/ Terms, the word is reverse and if i launch the game, it's exactly the same.
it's not the correct direction.
(I use last version of Ngui and last version of I2 localization)
Also, Do you have any suggestion for me or a solution.
Thanks a lot for any reply !
When i put an arabic character in Language source/ Terms, the word is reverse and if i launch the game, it's exactly the same.
it's not the correct direction.
(I use last version of Ngui and last version of I2 localization)
Also, Do you have any suggestion for me or a solution.
Thanks a lot for any reply !
Please Log in or Create an account to join the conversation.
10 years 3 months ago - 10 years 3 months ago #233
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Problem Arabic Language
Hi,
I just double checked the Arabic rendering, and in the last version, it was accidentally disabled because the language code was not being set when changing the language.
I correct that and made an example scene showing how to setup the correct Right To Left text rendering.
I will be releasing the new version over the weekend along with a few more fixes and improvements.
Nonetheless, I'm attaching the LocalizationManager.cs that fixes the issue.
Thanks for catching that bug!!
Frank
I just double checked the Arabic rendering, and in the last version, it was accidentally disabled because the language code was not being set when changing the language.
I correct that and made an example scene showing how to setup the correct Right To Left text rendering.
I will be releasing the new version over the weekend along with a few more fixes and improvements.
Nonetheless, I'm attaching the LocalizationManager.cs that fixes the issue.
Thanks for catching that bug!!
Frank
Attachment LocalizationManager.zip not found
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
Last edit: 10 years 3 months ago by Frank.
Please Log in or Create an account to join the conversation.
10 years 3 months ago #234
by titanire
Replied by titanire on topic Problem Arabic Language
Hi !
Thanks you for the reply, but i have an error when i change this file :
Assets/I2/Localization/Scripts/LocalizationManager.cs(139,72): error CS0308: The non-generic method `I2.Loc.ResourceManager.GetAsset(string)' cannot be used with the type arguments
Thank for reply !
Titanire
Thanks you for the reply, but i have an error when i change this file :
Assets/I2/Localization/Scripts/LocalizationManager.cs(139,72): error CS0308: The non-generic method `I2.Loc.ResourceManager.GetAsset(string)' cannot be used with the type arguments
Thank for reply !
Titanire
Please Log in or Create an account to join the conversation.
10 years 3 months ago #235
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Problem Arabic Language
Ahhh, that file seems to depend on the new functions in the ResourceManager. There has been quite a few changes for the features.
You will have to update to the new version to get all the changes. I will try packing an early beta tomorrow that you could download.
Sorry for the issue and thanks for detecting it. Please, if you find any other thing or have any suggestion, let me know! I'm trying to include as many fixes as possible in the next release.
Thanks,
Frank
You will have to update to the new version to get all the changes. I will try packing an early beta tomorrow that you could download.
Sorry for the issue and thanks for detecting it. Please, if you find any other thing or have any suggestion, let me know! I'm trying to include as many fixes as possible in the next release.
Thanks,
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.
10 years 3 months ago #236
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Problem Arabic Language
Nonetheless, a quick workaround for that compile error is to replace
by
GameObject Prefab = (ResourceManager.pInstance.GetAsset<GameObject>("I2Languages"));
by
GameObject Prefab = (ResourceManager.pInstance.GetAsset("I2Languages")) as GameObject;
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
The following user(s) said Thank You: titanire
Please Log in or Create an account to join the conversation.
10 years 3 months ago #237
by titanire
Replied by titanire on topic Problem Arabic Language
Awesome it's work !
Thanks you very Much and Keep rocking !
Titanire
Thanks you very Much and Keep rocking !
Titanire
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds