Seite 5 von 6

Re: BP-Neutrino image arabic language

Verfasst: Mi 28. Feb 2018, 19:10
von mohasoli
BPanther hat geschrieben: Di 27. Feb 2018, 13:25 The keyboard is at the GIT ( https://github.com/Duckbox-Developers?tab=repositories ), so you can build neutrino and activate this here https://github.com/Duckbox-Developers/n ... ut.cpp#L91 and here https://github.com/Duckbox-Developers/n ... t.cpp#L113 (set #if 0 to #if 1). I know the html or php rtl/ltr function, but not usable at c++. :(
I can not try the keyboard through the site
I do not know the way

Re: BP-Neutrino image arabic language

Verfasst: Mi 28. Feb 2018, 19:16
von mohasoli
BPanther hat geschrieben: So 25. Feb 2018, 23:23 The keys are placed at neutrino itself - fix, hardcoded.

Here a test picture. Is this right?
arabic_keyboard.png

Has the arabic font no upper and lower case? If not, i must duplicate this, because there are 2 keyboard layouts for upper and lower case used...

BUT: The direction of the input chars are wrong, will be still left to right. Sorry, but this won't work, because all input fields must be rewritten for the "reverse" direction. You should use the english keyboard...

Is it possible to try writing a word
If the writing pointer to the left of the word, this is true
If possible a picture of writing

Re: BP-Neutrino image arabic language

Verfasst: Mi 28. Feb 2018, 19:43
von BPanther
The link is the source code of the base, so you must compilie by yourself if you have changes for testing. If I reactivate the keyboard at my build, so you can only see the wrong direction of the input, but you can not change anything because this is hardcoded at the source.

@TC: Ich hatte auch schon mal mit std::reverse() experimentiert, aber das klappt so auch nicht richtig, da die Eingabe weiterhin LTR ist, wobei das Ergebnis RTL ist. Aber es ist auch oft passiert, daß der String bereits schon zu Beginn dann falsch gedreht wurde, so daß ich das am Ende wieder verworfen hatte. Das andere müsste ich erst probieren, aber das kann ich erst in einigen Tagen durch meine Nachtschichten...

Re: BP-Neutrino image arabic language

Verfasst: Fr 2. Mär 2018, 15:34
von mohousch
hab den neuen Keyboard von nmp noch nie importiert ;P naja bisschen zu spät vor 4 jahre nach meinem Aufruf für die Übersetzung kam ja keine Hilfe :) aber egal jetzt ist sie da

arabic.locale translation help needed

hab mir gerade den Keyboard Code nur überflogen, mehr als nur die GUI Dastellung ist das Problem nicht im Core kann neutrino das RTL launguage bzw der Cursor in dem Keyboard Maske soll man recht zeigen und zufolge die Masken Sprünge
nun das reicht auch nicht ganz für die Darstellung da arabisch zusammen fügen ist anders (wie klein schreiben)

EDIT:
im stringInput_ext.cpp die function paintChar() da soll die posx vom Recht nach links behnadelt werden von Letzte eingabe Maske sprich die Breite und denn weiter mit Minus bis xs.

bin leider seit langem raus aber freue mich dass es auch angekommen ist ;P

Re: BP-Neutrino image arabic language

Verfasst: Sa 3. Mär 2018, 19:27
von mohasoli
mohousch hat geschrieben: Fr 2. Mär 2018, 15:34 hab den neuen Keyboard von nmp noch nie importiert ;P naja bisschen zu spät vor 4 jahre nach meinem Aufruf für die Übersetzung kam ja keine Hilfe :) aber egal jetzt ist sie da

arabic.locale translation help needed

hab mir gerade den Keyboard Code nur überflogen, mehr als nur die GUI Dastellung ist das Problem nicht im Core kann neutrino das RTL launguage bzw der Cursor in dem Keyboard Maske soll man recht zeigen und zufolge die Masken Sprünge
nun das reicht auch nicht ganz für die Darstellung da arabisch zusammen fügen ist anders (wie klein schreiben)

EDIT:
im stringInput_ext.cpp die function paintChar() da soll die posx vom Recht nach links behnadelt werden von Letzte eingabe Maske sprich die Breite und denn weiter mit Minus bis xs.

bin leider seit langem raus aber freue mich dass es auch angekommen ist ;P
لم استطع فهمك بشكل جيد
لو حضرتك عربي ممكن نواصل بشكل أفضل

Re: BP-Neutrino image arabic language

Verfasst: So 4. Mär 2018, 04:46
von BPanther
mohasoli hat geschrieben: Sa 3. Mär 2018, 19:27 لم استطع فهمك بشكل جيد
لو حضرتك عربي ممكن نواصل بشكل أفضل
Please write in englisch...

Your Text translated with Google Translator:
"I could not understand you well
If you attend an Arab, we may continue to do better"


@mohoush: Hmm, nur die Breite/Länge ist doch nicht fest sondern wird Zeichen für Zeichen addiert, d.h. was will man von 0 abziehen bei Beginn der Eingabe - die beginnt ja bei 0? Wenn dann müsste man einen festen String mit Leerzeichen auf die dargestellte Länge festlegen und dann die Leerzeichen rückwärts löschen. Das hätte den Nachteil, daß man nie mehr als dann vorgegeben eingeben kann.

Re: BP-Neutrino image arabic language

Verfasst: So 4. Mär 2018, 12:06
von mohousch
@BPanther

dachte erstmal es hängt an der Darstellung da er geschrieben hat dass der Keyboard immer noch von Links nach Recht schreibt
das zusammen fügen ist ein Kapitel für sich da arabisch sich ganz anders zusammen fügt

@mahasoli
i am originally from algerien and i dont have arabic keyboard for mein PC
the original work supporting arabic in neutrino was from me but now more than one year i'm not more aktiv in this.

Re: BP-Neutrino image arabic language

Verfasst: Mo 5. Mär 2018, 02:44
von BPanther-Mobil
Die richtige Darstellung ist das eine, aber wie gesagt wird der Eingabestring nach und nach aufgebaut, so daß bei RTL ein fester String mit Leerzeichen existieren müsste, der dann nach und nach überschrieben wird. Oder ich habe da irgendwo einen Denkfehler und sehe das zu kompliziert.

Re: BP-Neutrino image arabic language

Verfasst: Di 6. Mär 2018, 20:30
von mohasoli
@mohousch
مرحباً بالجزائر وشعبها الكريم
من الممكن أن نتعاون في ترجمة ملف جديد
أنا كنت بدأت في ترجمة الملف ولكن مشغول جدأ هذا الأيام
لو حضرتك تريد التعاون فالملف في المرفقات

Welcome to Algeria and its people
We can collaborate on translating a new file
I was starting to translate the file but it's really busy these days
If you want to collaborate, the file is in the attachments

Re: BP-Neutrino image arabic language

Verfasst: Di 6. Mär 2018, 20:50
von BPanther
Thanks, will be added at the next image... :drinking:

Re: BP-Neutrino image arabic language

Verfasst: Di 6. Mär 2018, 21:23
von mohasoli
BPanther hat geschrieben: Di 6. Mär 2018, 20:50 Thanks, will be added at the next image... :drinking:
@BPanther
Thank you but the file is still under translation
But the file is fit to put it in the next image

Re: BP-Neutrino image arabic language

Verfasst: Di 6. Mär 2018, 21:39
von BPanther
It's ok. If you have later newer versions, just attach the file and i will add this to the image. No problem. I know, the file is big, this needs time for translation...

Re: BP-Neutrino image arabic language

Verfasst: Di 6. Mär 2018, 21:45
von mohasoli
BPanther hat geschrieben: Di 6. Mär 2018, 21:39 It's ok. If you have later newer versions, just attach the file and i will add this to the image. No problem. I know, the file is big, this needs time for translation...
OK
Bild

Re: BP-Neutrino image arabic language

Verfasst: So 11. Mär 2018, 20:50
von mohasoli
@BPanther
Attached is the Arabic keyboard files for the Enigma 2 version for searching on YouTube
You may be able to take advantage of file codes in writing from right to left

Re: BP-Neutrino image arabic language

Verfasst: So 11. Mär 2018, 21:52
von BPanther
Sorry, but E2-Python does not help...