summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Text')
-rw-r--r--src/compiler/GF/Text/Transliterations.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/compiler/GF/Text/Transliterations.hs b/src/compiler/GF/Text/Transliterations.hs
index 1c5bdcfcd..aa9901141 100644
--- a/src/compiler/GF/Text/Transliterations.hs
+++ b/src/compiler/GF/Text/Transliterations.hs
@@ -43,6 +43,7 @@ allTransliterations = Map.fromAscList [
("greek", transGreek),
("hebrew", transHebrew),
("persian", transPersian),
+ ("nepali", transNepali),
("telugu", transTelugu),
("thai", transThai),
("urdu", transUrdu)
@@ -170,6 +171,21 @@ transPersian = (mkTransliteration "Persian/Farsi" allTrans allCodes)
[0x0641..0x064f] ++ [0x0650..0x0657] ++
[0x067e,0x0686,0x0698,0x06a9,0x06af,0x06cc]
+transNepali :: Transliteration
+transNepali = mkTransliteration "Nepali" allTrans allCodes where
+ allTrans = words $
+ "z+ z= " ++
+ "- V M h: - H A i: I: f F Z - - - e: " ++
+ "E: - - O W k K g G n: C c j J Y q " ++
+ "Q x X N t T d D n - p P b B m y " ++
+ "r - l L - v S z s h - - ~ ` a i " ++
+ "I u U R - - - e E - - o w x: - - " ++
+ "O: - _ - - - - - - - - - - - - - " ++
+ "- - - - . > 0 1 2 3 4 5 6 7 8 9 " ++
+ "- - - - - - - - - - - - - - - - "
+ allCodes = [0x200c,0x200d] ++ [0x0900 .. 0x097f]
+
+
transHebrew :: Transliteration
transHebrew = mkTransliteration "unvocalized Hebrew" allTrans allCodes where
allTrans = words $