How To Add Regional And Language - PalmMicro AR1688 Development Manual

Based ip phone
Table of Contents

Advertisement

C o m m u n i c a t i o n s , I n c .

9 How To Add Regional and Language

With PA1688, we have supported over 30 different language firmware. None of us
understand language except Chinese and English, volunteers all over the world helped us
to do the entire localization works. I believe that we can do this again with AR1688,
hopefully even better because it is well planned from the beginning.
From 0.10 firmware, we have finalized all UI implementations. Of course we will continue
to improve it and fix bugs, however, developers can do regional and language
customization based on this version without worrying future huge changes.
Based on 0.32.000 software API, please following steps below to add your own native
language support:
Step1. Starting from SDCC\inc\version.h, find the RES_XX sections, check if your
regional code is in the list or not. The 'XX' code is following ISO 3166
(http://www.iso.ch/iso/en/prods-services/iso3166ma/index.html).
exists, you can jump to step 3 directly. If it is not, please add it. You can then
choose to move on to next step, or send an email to support@aredfox.com, tell us
about your change, and ask us to do step 2, you can jump to step 3.
Step2. Add your regional DTMF frequency and interval to SDCC\src\dtmf.c, search for
"RES_US" in files if you need guide for changes. See the section in Chapter 8 for
more details.
Step3.
Translate the English web pages in SDCC\src\res\us into your native language,
put them in the new SDCC\src\res\xx directory.
Step4.
Translate SDCC\src \res\us\menu.h, time.h and str.h into your native language,
keep the original coding as it is in the file. For example, keep ISO-8859-1 coding
for French special chars and ISO-8859-9 coding for Turkish special chars.
Step5.
In SDCC\src\time.c,
characters,
change time and date display format accordingly, and add day light
saving time support if your region uses day light saving.
light saving today. Currently only USA day light saving is implemented. Make sure
"Automatically Adjust Clock for Daylight Saving Changes" option is checked in
settings. If you need guide for change, search for other language in files, or send
request to support@aredfox.com.
Step6. Add judging your regional code and judging accented characters to
SDCC\src\ui_str.c. If you need guide for change, search for other language in files,
or send an email to support@aredfox.com. With 2x16 LCD, the display will still be
English, but we can add other language font display with dot-matrix LCD.
Step7.
Add necessary ISO-8859-X font in SDCC\src\font.c, or update Unicode font in the
256k bytes font data flash storage space.
Step8.
find SDCC\src\res\us\inputmap.h, change it to your own native language.
PalmMicro Communications, Inc.
© 2006-2007
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
add judging your regional code and judging accented
If
it
already
China does not use day
36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents