Translation engine library

My new project

Translation engine library

Add easy translation engine into your projects

How to :

  1. Run the block “create translationsList var and set your primari language”

  2. optional : Run the block “add a secondary language”

  3. optional : you can add prompts into the var with:

    • Run the block “Add prompt manually”
    • Run the block “Add manually a list of prompts”
    • if you have more than 2 languages, i suggest you to auto-translating the prompts

You are ready to integrate translations into your program! See inside for more informations !

Supported language list

afrikaans=af
albanian=sq
amharic=am
arabic=ar
armenian=hy
assamese=as
aymara=ay
azerbaijani=az
bambara=bm
basque=eu
belarussian=be
bengali=bn
bhojpuri=bh
bosnian=bs
bulgarian=bg
catalan=ca
cebuano=ceb
chichewa=ny
chinese_simplified=zh-CN
chinese_traditional=zh-TW
corsican=co
croatian=hr
czech=cs
danish=da
dhivehi=dv
dogri=doi
dutch=nl
english=en
esperanto=eo
estonian=et
ewe=ee
filipino=tl
finnish=fi
french=fr
frisian=fy
galician=gl
georgian=ka
german=de
greek=el
guarani=gn
gujarati=gu
haitian_creole=ht
hausa=ha
hawaiian=haw
hebrew=he
hindi=hi
hmong=hmn
hungarian=hu
icelandic=is
igbo=ig
ilocano=ilo
indonesian=id
irish=ga
italian=it
japanese=ja
javanese=jv
kannada=kn
kazakh=kk
khmer=km
kinyarwanda=rw
konkani=gom
korean=ko
krio=kri
kurdish_kurmanji=ku
kurdish_sorani=ckb
kyrgyz=ky
lao=lo
latin=la
latvian=lv
lingala=ln
lithuanian=lt
luganda=lg
luxembourgish=lb
macedonian=mk
maithili=mai
malagasy=mg
malay=ms
malayalam=ml
maltese=mt
maori=mi
marathi=mr
meiteilon_manipuri=mni-Mtei
mizo=mzo
mongolian=mn
myanmar_burmese=my
nepali=ne
norwegian=no
oriyan=or
oromo=om
pashto=ps
persian=fa
polish=pl
portuguese=pt
punjabi=pa
quechua=qu
romanian=ro
russian=ru
samoan=sm
sanskrit=sa
scots_gaelic=gd
sepedi=nso
serbian=sr
sesotho=st
shona=sn
sindhi=sd
sinhala=si
slovak=sk
slovenian=sl
somali=so
spanish=es
sundanese=su
swahili=sw
swedish=sv
tajik=tg
tamil=ta
tatar=tt
telugu=te
thai=th
tigrinya=ti
tsonga=ts
turkish=tr
turkmen=tk
twi=ak
ukrainian=uk
urdu=ur
uyghur=ug
uzbek=uz
vietnamese=vi
welsh=cy
xhosa=xhosa
yiddish=yi
yoruba=yo
zulu=zu

it is full of bugs i think

C’mon. Surely a moment’s thought will show you how unhelpful that comment is. I’m sure @loucheman would be happy to get an actionable bug report!

This:

Thk to report, FOR NOW JUST ADD A SECONDARY LANGUAGE and it will be ok
(you try to translate something but you have only one language)
(the problem is : when you have only one language, the translationsList contains a list, but when you have 2 or severals languages, it contains a table (list of list), i have to manage this exception…)

I think you can try it now !!!

This is very good!!

I used the library in an existing project to test it.

Very easy to integrate into the project!