Blithe Constants

There are three types of constants used in Blithe: messages, language IDs, and entry IDs for common dictionaries.

Messages

There are two messages that are defined and used in Blithe.

BLITHE_UPDATE_LANGUAGE

In the Blithe settings, there are two controls: the language pop-up menu and the Notify check box. If the Notify check box is on and the end user selects a new lanugage from the pop-up menu, this message is sent to all running applications.

A Blithe-aware application should respond to this message by resetting all necessary text by calling either get_entry in the C API or the Entry method of BlitheDictionary.

BLITHE_LANGUAGE_CHANGED

This message is sent when a user selects a language from the LanguagePopupMenu. This menu is created with the BlitheDictionary class. The difference between the LanguagePopupMenu and the pop-up menu in Blithe Settings is that Blithe Settings affects all Blithe-aware applications. The LanguagePopupMenu only affects the application that created it.


Language IDs

Blithe uses the terminological codes (listed below) from ISO 639-2. If there is a language that you wish to use that is not listed here, you may make up your own language code. New language codes should use the format: xxXX, where XX are any two lower case letters. For the sake of consistancy, please report any new language codes to deacent@home.com so that others may use the same codes.

CodeLanguage Name in English
abkAbkhazian
aceAchinese
achAcoli
aarAfar
adaAdangme
afhAfrihili
afrAfrikaans
ajmAljamia
tutAltaic (Other)
akaAkan
akkAkkadian
sqiAlbanian
aleAleut
amhAmharic
araArabic
arcAramaic
arpArapaho
arnAraucanian
arwArawak
hyeArmenian
asmAssamese
mapAustronesian (Other)
avaAvaric
aveAvestan
awaAwadhi
aymAymara
azeAzerbaijani
nahAztec
banBalinese
balBaluchi
bamBambara
badBanda
basBasa
bakBashkir
eusBasque
btkBatak (Indonesia)
bejBeja
belBelarusian
bemBemba
benBengali
bhoBhojpuri
bihBihari
bikBikol
binBini
bisBislama
braBraj
breBreton
bugBuginese
bulBulgarian
buaBuriat
myaBurmese
cadCaddo
carCarib
catCatalan
cebCebuano
chgChagatai
chaChamorro
cheChechen
chbChibcha
zhoChinese
chpChipewyan
choChoctaw
chkChuukese
chvChuvash
copCoptic
corCornish
cosCorsican
creCree
musCreek
cpeCreoles and pidgins, English-based (Other)
cpfCreoles and pidgins, French-based (Other)
cppCreoles and pidgins, Portuguese-based (Other)
crpCreoles and pidgins (Other)
hrvCroatian
cesCzech
dakDakota
danDanish
dayDayak
dinDinka
divDivehi
doiDogri
dgrDogrib
duaDuala
nldDutch
dyuDyula
dzoDzongkha
efiEfik
ekaEkajuk
elxElamite
engEnglish (American)
xxukEnglish (United Kingdom)
epoEsperanto
estEstonian
ethEthiopic
eweEwe
ewoEwondo
fanFang
fatFanti
faoFaroese
fijFijian
finFinnish
fonFon
fraFrench
fryFrisian
furFriulian
fulFulah
gaaGa
gdhGaelic (Scots)
glgGallegan
lugGanda
gayGayo
gbaGbaya
gezGeez
katGeorgian
deuGerman
gilGilbertese
gonGondi
gorGorontalo
gotGothic
grbGrebo
ellGreek, Modern (1453-)
grnGuarani
gujGujarati
gwiGwich'in
haiHaida
hauHausa
hawHawaiian
hebHebrew
herHerero
hilHiligaynon
himHimachali
hinHindi
hmoHiri Motu
hitHittite
hmnHmong
hunHungarian
hupHupa
ibaIban
islIcelandic
iboIgbo
ijoIjo
iloIloko
indIndonesian
inaInterlingua (International Auxilary Language Association)
ileInterlingue
ikuInuktitut
ipkInupiak
gaiIrish
itaItalian
jpnJapanese
jawJavanese
jrbJudeo-Arabic
jprJudeo-Persian
kabKabyle
kacKachin
kalKalaallisut
kamKamba
kanKannada
kauKanuri
kaaKara-Kalpak
karKaren
kasKashmiri
kawKawi
kazKazakh
khaKhasi
khmKhmer
khoKhotanese
kikKikuyu
kmbKimbundu
kinKinyarwanda
kirKirghiz
komKomi
konKongo
kokKonkani
korKorean
kosKosraean
kpeKpelle
kroKru
kuaKuanyama
kumKumyk
kurKurdish
kruKurukh
kutKutenai
ladLadino
lahLahnda
lamLamba
laoLao
latLatin
lavLatvian
lezLezghian
linLingala
litLithuanian
lozLozi
luaLuba-Lulua
lubLuba-Katanga
luiLuiseno
lunLunda
luoLuo (Kenya and Tanzania)
lusLushai
ltzLëtzeburgesch
mkdMacedonian
madMadurese
magMagahi
maiMaithili
makMakasar
mlgMalagasy
msaMalay
malMalayalam
mltMaltese
mdrMandar
manMandingo
mniManipuri
maxManx
mriMaori
marMarathi
chmMari
mahMarshall
mwrMarwari
masMasai
mynMayan languages
menMende
micMicmac
mgaMiddle Irish (900-1200)
minMinangkabau
misMiscellaneous languages
lolMongo
mkhMon-Khmer (Other)
mnoManobo languages
mohMohawk
molMoldavian
monMongolian
mosMossi
mulMultiple languages
munMunda languages
nauNauru
navNavajo
ndoNdonga
nepNepali
newNewari
niaNias
nicNiger-Kordofanian (Other)
ssaNilo-Saharan (Other)
niuNiuean
naiNorth American Native languages (Other)
ndeNorth Ndebele
nsoNorthern Sohto
norNorwegian
nubNubian languages
nymNyamwezi
nyaNyanja
nynNyankole
nyoNyoro
nziNzima
ociOccitan (post 1500)
ojiOjibwa
sgaOld Irish (to 900)
nonOld Norse
peoOld Persian (ca. 600-400 B.C.)
oriOriya
ormOromo
osaOsage
ossOssetic
otoOtomian languages
otaOttoman Turkish (1500-1928)
palPahlavi
pauPalauan
pliPali
pamPampanga
pagPangasinan
panPanjabi
papPapiamento
paaPapuan (Other)
fasPersian
phiPhilippine (Other)
phnPhoenician
ponPohnpeian
polPolish
porPortuguese
praPrakrit languages
proProvençal, Old (to 1500)
pusPushto
queQuechua
rajRajasthani
roaRomance (Other)
rapRapanui
rarRarotongan
rohRhaeto-Romance
ronRomanian
romRomany
runRundi
rusRussian
salSalishan languages
samSamaritan Aramaic
smiSámi languages
smoSamoan
sadSandawe
sagSango
sanSanskrit
satSantali
srdSardinian
sasSasak
scoScots
selSelkup
semSemitic (Other)
srpSerbian
srrSerer
shnShan
snaShona
sidSidamo
blaSiksika
sndSindhi
sinSinhalese
sitSino-Tibetan (Other)
sioSiouan languages
denSlave (Athapascan)
slaSlavic (Other)
slkSlovak
slvSlovenian
sogSogdian
somSomali
sonSonghai
snkSoninke
wenSorbian languages
saiSouth American Native languages (Other)
nblSouth Ndebele
sotSouthern Sotho
spaSpanish
sukSukuma
suxSumerian
sunSundanese
susSusu
swaSwahili
sswSwati
sweSwedish
syrSyriac
tahTahitian
tglTagalog
taiTai (Other)
tgkTajik
tmhTamashek
tamTamil
tatTatar
telTelugu
terTereno
tetTetum
thaThai
bodTibetan
tigTigre
tirTigrinya
temTimne
tivTiv
tliTlingit
tpiTok Pisin
tklTokelau
togTonga (Nyasa)
tonTonga (Tonga Islands)
tsiTsimshian
tsoTsonga
tsnTswana
tumTumbuka
turTurkish
tukTürkmen
tvlTuvalu
tyvTuvinian
twiTwi
ugaUgaritic
uigUighur
ukrUkrainian
umbUmbundu
undUndetermined
urdUrdu
uzbUzbek
vaiVai
venVenda
vieVietnamese
volVolapük
votVotic
wakWakashan languages
walWalamo
warWaray
wasWasho
cymWelsh
wolWolof
xhoXhosa
yapYapese
yaoYao
yidYiddish
yorYoruba
ypkYupik languages
zndZande
zapZapotec
zenZenaga
zhaZhuang
zulZulu
zunZuńi


Common Dictionary Entry IDs

The following list contains the constants used in the Blithe common dictionaries. To the left is the name of the constant (defined in BlitheConst.h). To the right is the intended use of the text. If there is a string that you feel is missing, please e-mail me at deacent@home.com. Please do not add them without contacting me so that we can keep all of the dictionaries synchronized.

Failure

BL_MISSING_STRING When the dictionary is found but there is no string.
BL_NODICT_STRING When the application dictionary cannot be found.

Menus

BL_FILE_STRING Basic document commands.
BL_EDIT_STRING Editing commands.
BL_FONT_STRING A list of fonts.
BL_SIZE_STRING A list of font sizes.
BL_STYLE_STRING A list of font styles.
BL_TOOLS_STRING A list of tools.
BL_WINDOW_STRING The names of windows and/or contains command applicable to windows.
BL_HELP_STRING Help menu/menu item.
BL_ADDON_STRING A list of add-ons.
BL_COLOR_STRING A color picker.
BL_SOUND_STRING Sound preferences.
BL_APP_LANG_STRING Available Blithe languages.

Menu Items

BL_NEW_STRING Creates a new document.
BL_OPEN_STRING Opens a document.
BL_CLOSE_STRING Closes a document.
BL_SAVE_STRING Saves a document.
BL_SAVEAS_STRING Saves a document under a new name.
BL_SAVECOPY_STRING Saves a copy of a document.
BL_REVERT_STRING Reverts a document to it's last saved condition.
BL_PRINT_STRING Prints a document.
BL_PAGESETUP_STRING Printing settings.
BL_ABOUT_STRING About box. This item is intended to be used with sprintf. There is a %s embedded in it which stands for the name of the application.
BL_APPHELP_STRING Help. This item is intended to be used with sprintf. There is a %s embedded in it which stands for the name of the application.
BL_QUIT_STRING Quits the application.
BL_UNDO_STRING Undoes the last action.
BL_UNDOACTION_STRING Undoes the specified action. This item is intended to be used with sprintf. There is a %s embedded in it which stands for the description of the action to be undone.
BL_CUT_STRING Cuts the current selection to the clipboard.
BL_COPY_STRING Copies the current selection into the clipboard.
BL_PASTE_STRING Pastes the contents of the clipboard.
BL_CLEAR_STRING Clears the current selection.
BL_SELECTALL_STRING Selects everything.
BL_SETTINGS_STRING Adjusts the settings for the application.
BL_FIND_STRING Presents the user with a Find dialog.
BL_FINDNEXT_STRING Finds the next instance.
BL_REPLACE_STRING Replaces an instance of one type with another.
BL_REPLACEALL_STRING Replaces all instances of one type with another.
BL_REPLACEFIND_STRING Replaces an instance and find the next.
BL_STACK_STRING Stacks the windows.
BL_TILE_STRING Tiles the windows.
BL_GETINFO_STRING "Gets Info" on the current selection.
BL_REDO_STRING Redoes the last undo.
BL_REDOACTION_STRING Redoes the specified undo action. This item is intended to be used with sprintf. There is a %s embedded in it which stands for the description of the action to be redone.

Buttons

BL_ADD_STRING Adds to a list.
BL_REMOVE_STRING Removes from a list.
BL_OK_STRING Generic OK button.
BL_CANCEL_STRING Generic Cancel button.
BL_CONTINUE_STRING Generic Continue button.
BL_DONTSAVE_STRING Generic Don't Save button.
BL_YES_STRING Generic Yes button.
BL_NO_STRING Generic No button.

Messages

BL_WANTTOSAVE_STRING Asks the user to save changes.
BL_RIGHTSRES_STRING States that rights are reserved.
BL_NO_APP_MESSAGE_STRING States that the application dictionary is not available and asking if the user would like to change to a different language.

Blithe Setting Strings

BLITHE_INSTR_STRING Explains the purpose of Blithe Settings.
BLITHE_LANGUAGE_STRING Label for the language pop-up menu.
BLITHE_NOTIFY_STRING Label for the Notify checkbox.
BLITHE_SETTING_STRING The window title.