Skip to content

likeastore/polyglot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

polyglot

Service and storage for Likeastore localization

Localization files

All locales are stored into /locales folder. Filename should consist of local two-letter ISO language code with .json extension.

REST API

Read all localized strings,

GET /api/texts/:lang_id

Read localized string by prefix,

GET /api/texts/:lang_id?pref=SITE

or by few prefixes, separated by comma,

GET /api/texts/:lang_id?pref=SITE,APP_DASHBOARD,APP_SETTINGS

License

MIT

About

Service and storage for Likeastore localization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published