Default [HELP][GALAXY CHAT B5330] Arabic/AZERTY Keypad

Hello,

i have had a big problem after flashing my galaxy chat: i was unable to write in arabic.
my phone had a button to switch between ABCD and arabic letters. this button is KEY 373 (it is SYM on single language keypad)

i tried to modify the keylayout/keychart but i don't know how to define the KEY 373 as a switching key.

is this related to kernel??

Please help me