Skip to content

sekodev/sozluk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sozluk

Sozluk(meaning 'dictionary' in Turkish) is a localization library for Solar2D (and probably LÖVE 2D).

Main difference of this library is that it uses the power of Lua tables (files) to store localization data, instead of text or json files. This will let you easily update your games/apps over 50MB on Google Play without coping with patch files.

Basic instructions

Import library

local Sozluk = require "Sozluk"

Initialize Sozluk object

Sozluk.init()

Set path of your translations folder

Sozluk.setTranslationFolder("translations")

Set translation

Sozluk.setSelectedTranslation("english")

Get string with key value

Sozluk.getString("start")

About

Sozluk(meaning 'dictionary' in Turkish) is a localization library for Solar2D (and probably LÖVE 2D).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages