Reputation: 2333
When I show any message dialogue like warning dialogue or help dialogue using Arabic text as the message it's not shown in a proper way.
Examples:
English:
helpdlg('Hello World !!');
Arabic:
helpdlg('أهلا أيها العالم');
My thoughts goes to that it's character-encoding problem, I really don't know for sure !
I've tried to use different font like:
text(0.6,0.5,'أهلا و سهلا','fontname','david','rotation',180,'fontsize',50,'color','r');
text(0.6,0.5,'أهلا و سهلا','fontname','arial','rotation',180,'fontsize',50,'color','r');
text(0.6,0.5,'أهلا و سهلا','fontname','Arabic Typesetting','rotation',0,'fontsize',50,'color','r');
text(0.6,0.5,'أهلا و سهلا','fontname','Courier','rotation',0,'fontsize',50,'color','r');
And the problem still not solved.
The question is, How can Matlab dialogue messages appear in Arabic ?
Upvotes: 8
Views: 2272
Reputation: 2333
The solution is to change machine local numbers and formats to Arabic [Guide]
then restart Matlab and Arabic will be supported in GUI, command window, Workspace and etc..
Only dialogues still don't support Arabic.
Upvotes: 3