NX-Family / NX-Translation

A Homebrew translation of Nintendo Switch Firmware
https://t.me/NX_Translation
14 stars 6 forks source link

Arabic Translation #1

Open 3li-Mamd007 opened 1 year ago

3li-Mamd007 commented 1 year ago

A request to add Arabic Translation

Languages to replace English

JulyIghor commented 1 year ago

Languages to replace

Any, other than English.

That maybe something you need to choose, because it is the choice in which language games will be displayed

JulyIghor commented 1 year ago

We can't add new language to the language list, but only replace one of existing languages in the switch firmware by custom ones

3li-Mamd007 commented 1 year ago

Thank you

JulyIghor commented 1 year ago

Thank you

I found solution, so soon I'll push Arabic translation, and you will able to fix errors if there is

JulyIghor commented 1 year ago

done, feel free to send fixes if needed https://github.com/NX-Family/NX-Translation/releases

3li-Mamd007 commented 1 year ago

I really appreciate the work you are doing. I just got around to try the translation.

The arabic txt file you provided is perfect, it showes how the translation should appear.

Instead when applied it appears as individual letters, and reads left to right.

Every letter of each word should be connected and it should be read right to left.

Again thank you for the hard work, and let me know how can I help.

JulyIghor commented 1 year ago

I really appreciate the work you are doing. I just got around to try the translation.

The arabic txt file you provided is perfect, it showes how the translation should appear.

Instead when applied it appears as individual letters, and reads left to right.

Every letter of each word should be connected and it should be read right to left.

Again thank you for the hard work, and let me know how can I help.

Hi, please provide example of the string taken from arabic.txt, and fixed one.

3li-Mamd007 commented 1 year ago

I really appreciate the work you are doing. I just got around to try the translation. The arabic txt file you provided is perfect, it showes how the translation should appear. Instead when applied it appears as individual letters, and reads left to right. Every letter of each word should be connected and it should be read right to left. Again thank you for the hard work, and let me know how can I help.

Hi, please provide example of the string taken from arabic.txt, and fixed one.

arabic.txt is perfect, it is right. But on the switch its flipped and chopped up

For example القائمة الرئيسية this is what is on txt file

ة ي س ي ئ ر ل ا ة م ئ ا ق ل ا this is how it appears in switch

JulyIghor commented 1 year ago

While reading the arabic.txt file and comparing to switch UI, I don't see it is to be displayed in different order. Can you please send a few screenshots? What is your FW version?

3li-Mamd007 commented 1 year ago

2023092011412400-57B4628D2267231D57E0FC1078C0596D 2023092011420500-57B4628D2267231D57E0FC1078C0596D 2023092011425300-57B4628D2267231D57E0FC1078C0596D 2023092011424000-57B4628D2267231D57E0FC1078C0596D

OFW 16.1.0

JulyIghor commented 1 year ago

Can you please confirm that this one is correct?

2023092019075100-57B4628D2267231D57E0FC1078C0596D

JulyIghor commented 1 year ago

I think I fixed it, let me know if you find any other issues

3li-Mamd007 commented 1 year ago

Almost there. Now its not flipped, but still letters are chopped up. Example: System settings: Its like this إ ع د ا دا ت ا ل ن ظ ا م Should be like this إعدادات النظام

JulyIghor commented 1 year ago

Almost there. Now its not flipped, but still letters are chopped up. Example: System settings: Its like this إ ع د ا دا ت ا ل ن ظ ا م Should be like this إعدادات النظام

Please send a screenshot or point me to the uploaded screenshot line, so I know where it is

3li-Mamd007 commented 1 year ago

Please send a screenshot or point me to the uploaded screenshot line, so I know where it is

20230921_112039

JulyIghor commented 1 year ago

I need help in solving this. When I go to translate.google.com and translate "System Settings" to Arabic, it is displaying the line you need, but when I copy and paste it, it become chopped up like you said. Also I can see the line chopped up here too https://github.com/NX-Family/NX-Translation/blob/main/translation/arabic.txt It looks like the arabic.txt need to be fixed somehow, but I don't have ideas how. Maybe it is wrong because font used, can you can help in finding better font? You can install that using this instruction https://nh-server.github.io/switch-guide/extras/theming/#installing-a-custom-font It will overwrite translation font and you will see it after restart. The font format required is TTF. Current translation use Lateef-Medium.ttf font.

3li-Mamd007 commented 1 year ago

I need help in solving this. When I go to translate.google.com and translate "System Settings" to Arabic, it is displaying the line you need, but when I copy and paste it, it become chopped up like you said. Also I can see the line chopped up here too https://github.com/NX-Family/NX-Translation/blob/main/translation/arabic.txt It looks like the arabic.txt need to be fixed somehow, but I don't have ideas how. Maybe it is wrong because font used, can you can help in finding better font? You can install that using this instruction https://nh-server.github.io/switch-guide/extras/theming/#installing-a-custom-font It will overwrite translation font and you will see it after restart. The font format required is TTF. Current translation use Lateef-Medium.ttf font.

The arabic.txt shows perfect Arabic language to me! maybe a lack of language support on your pc.

I tried many different fonts but it did not fix the issue.

I want to let you know that I faced this exact issue when I bought my fist HTC Android phone 13 years go. the text flipped and copped then just copped then completely fixed with the help of rooting and xda developers. If that problem was fixed, we can fix this one too.

Bird1to2 commented 5 months ago

Hello i have the same problem the text chopped up and i don't know what causes it

JulyIghor commented 5 months ago

Hello i have the same problem the text chopped up and i don't know what causes it

I understand and I have no easy fix at the moment, I'll keep trying to solve that

EUF15 commented 3 days ago

Hello, during this period I was making a program for myself. In the switch, the same problem as yours occurred, and I solved it through this website that flips the letters 😊

image

https://omar84.com/docs/taw/arabic_writer.html

JulyIghor commented 3 days ago

@EUF15 I did it the way you say also, but in the FW it ads spacing and looks like this https://github.com/NX-Family/NX-Translation/issues/1#issuecomment-1725302047

EUF15 commented 3 days ago

I tried the Arabization from a person on Twitter and the website, and it worked for me. It will give you the file. Try to figure out how he solved the problem. _GAMING REPUBLIC (تعرب الجهاز).zip

JulyIghor commented 3 days ago

@EUF15 is it translation of the switch firmware? if yes, can you send me a screenshot of it?

EUF15 commented 3 days ago

2048112704574200 2048112704575200

JulyIghor commented 3 days ago

@EUF15 thanks, please confirm that it look like it is fixed comparing to NX-Translation release

EUF15 commented 3 days ago

👍

JulyIghor commented 3 days ago

thanks, I'll inspect and try to fix it, likely I can do that

EUF15 commented 3 days ago

You’re welcome