Skip to content
/ sozluk Public

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

License

Notifications You must be signed in to change notification settings

sekodev/sozluk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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

Languages