الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

دعم اللغة العربية لتطبيقات الموبايل علي ويندوز موبايل

مغلق
بدأه ولد حرب في 10 يوليو 2007 · 1 رد · 3,165 مشاهدة · في JavaME
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

تواجهني مشكلة عدم دعم احرف اللغة العربية لبرنامجي علي الاجهزة التي تعمل علي نظام التشغيل وندوز موبايل حيث تكون الحروف بشكل عكسي من اليسار لليمين , احدههم يقول بان لك المشكله من نظام الشغيل فهل يوجد لها حل .

مثلا اليبل التالي:

ادخل اسم الدخول

يظهر بالشكل --- ل و خ د ل ا م س ا ل خ د ا

علما بانني اسخدم

NetBeans 5.5

واستخدم Localization Support ولكن بلا جدوى

طريقة اضافة Localization Support للتطبيق من موقع الشركة بالشكل التالي :

Adding Localization Support

1

. Create the java classes that initialize the localization support and message property files.

1. Right-click the MyHelloMIDlet Project node and choose New > File/Folder.

2. Under Categories, select MIDP. Under File Types, select Localization Support Class. Click Next.

3. Accept the default values by clicking Finish. This creates the files LocalizationSupport.java and messages.properties.

2. Change the Internationalization String and Search formats.

1. Choose Tools > Options and click the Advanced Options button.

2. Select the Internationalization node in the Options menu tree.

3. In the properties window:

 Change the value of the II8N String Format property to LocalizationSupport.getMessage("{key}")

 Change the value of the II8N Search Format property to (getString|getBundle|getMessage)[:space:]*\([:space:]*{hardString}|//NOI18N

3. Add localization keys and their values.

1. Choose Tools > Internationalization > Internationalization Wizard. This opens the Internationalization wizard.

2. Select the HelloMIDlet MIDlet as the source file to internationalize. Click Next.

3. Select the messages.properties resource file as the file in which to store the values for the internationalized strings. Click Next.

4. Modify the Value fields for each key identified for the HelloMIDlet MIDlet.

5. After all the strings have been added to the messages.properties file, do the following to add values for each new locale:

1. Right-click on the file node in the Projects view and choose Add Locale.

2. Choose a locale you want to support from the Predefined Locales list box, or use the combo boxes at the top of the form to define a new locale.

3. Expand the message.properties node in the Projects view, and double-click on the newly-added locale.

4. Translate all properties into the appropriate language.

4. Add code to initialize localization.

1. Enter the following string in your MIDlet wherever you want a key localized:

LocalizationSupport.getMessage("Key");

For example, LocalizationSupport.getMessage("LAB_NextButton");

The mobile application will use the microedition.locale attribute to determine which version of the messages.properties file should be used.

ارجوا المساعدة من جميع الخبراء

#2

يمكنك حل هذا عن طريق كتابة الكلمات العربية بصيغة unicode

وهناك برنامج يقوم بتحويل الجمل الى صغة unicode

موجود فى المنتدى يمكنك البحث عنه فى المشاركات السابقة

Mohamed Deraz

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…