elective-stereophonic
elective-stereophonic
RTL Language Support singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: RTL Language Support  (Read 1379 times)

Omar

  • Jr. Member
  • **
  • Karma: +3/-0
  • Offline Offline
  • Posts: 20
    • View Profile
RTL Language Support
« on: May 27, 2018, 07:23:17 am »

Has Arabic or Hebrew ever worked in NXT?

Our group has been working on a NBCK system, and we've been able to edit and add LTR languages to NXT, but we cannot get Arabic to work.
Logged

Right.Here

  • Full Member
  • ***
  • Karma: +21/-4
  • Offline Offline
  • Posts: 222
    • View Profile
Re: RTL Language Support
« Reply #1 on: May 27, 2018, 08:19:42 pm »

Hi  :D
Has Arabic or Hebrew ever worked in NXT?

Our group has been working on a NBCK system, and we've been able to edit and add LTR languages to NXT, but we cannot get Arabic to work.

both are there but disabled because they are not fully translated...
to add the arabic for eg; open:
cloneFolder\html\www\js\nrs.settings.js

and add this line right after the line 59 (after this...NRS.languages = { )

Quote
"ar": "العربية",
save, clean your browser cache, refresh the wallet window and select the arabic before login or in the account settings...

so as i said, the arabic and hebrew are not fully translated , you have to complete the missing things here:
cloneFolder\html\www\locales\ar\translation.json
cloneFolder\html\www\locales\he\translation.json

you must compare with the english translation.json to see what is missed...

you have also to add some JS to change the CSS and display the texts in the RTL style... is not a big coding work  ;)

Thank you for asking and good continuation  :D
Logged
NXT-LJV5-YSF4-MXXX-438D5

Omar

  • Jr. Member
  • **
  • Karma: +3/-0
  • Offline Offline
  • Posts: 20
    • View Profile
Re: RTL Language Support
« Reply #2 on: May 28, 2018, 02:26:08 am »

Hello Right.Here,

Thanks for the reply. We did finish the Arabic translation and change the menu in settings but it is not actually showing up. We also added Amharic, so we know we did it right, because Amharic is showing up.

Is there anything documented regarding: "you have also to add some JS to change the CSS and display the texts in the RTL style..."?

Thanks in advance.
Logged

Right.Here

  • Full Member
  • ***
  • Karma: +21/-4
  • Offline Offline
  • Posts: 222
    • View Profile
Re: RTL Language Support
« Reply #3 on: May 28, 2018, 04:29:05 pm »

Hi  :D
Hello Right.Here,

Thanks for the reply. We did finish the Arabic translation and change the menu in settings but it is not actually showing up. We also added Amharic, so we know we did it right, because Amharic is showing up.

Is there anything documented regarding: "you have also to add some JS to change the CSS and display the texts in the RTL style..."?

Thanks in advance.

verify if there is no missing (,) in the translation.json or (")... if the Amharic  works... the arabic must work too...
for the JS/RTL you have to write some codes ... take a look here, is the same UI like the wallet... you can port things from it for the RTL stuff...
https://github.com/mmdsharifi/AdminLTE-RTL
http://mmdsharifi.github.io/AdminLTE-RTL/

thank you and good continuation  :D
Logged
NXT-LJV5-YSF4-MXXX-438D5

Omar

  • Jr. Member
  • **
  • Karma: +3/-0
  • Offline Offline
  • Posts: 20
    • View Profile
Re: RTL Language Support
« Reply #4 on: May 31, 2018, 11:48:54 am »

Thanks Right.Here.
We're making some progress on this.
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly