Skip to content

Create a localization file from a Google Spreadsheet

Notifications You must be signed in to change notification settings

AckeeCZ/lokse

 
 

Repository files navigation

Lokse

Localize your app from spreadsheet

Description

This is a multi package repository of the lokse project. The project's goal is to faciliate the work with translations held in Google spreadsheet.

Brief history

The name meaning

You're maybe curious what the name means. Some people can pronounce it as Lokše which is a name for Slovak potato flatbread.
Maybe it was an inspiration. But the truth is, it's a little pun. The name has evolved by abbreaviating the term localization sheet and transcripting Czech pronounciation:

Localization Sheet ➡ LocSheLokShe ("c" is pronounced as "k" in Czech) ➡ LokŠe ("sh" is pronounced as "š") ➡ Lokse 🤓

Packages

  • lokse - CLI tool for updating project's translations from Google spreadsheet
  • @lokse/core - Core functionality handling fetch of sheet, extracting, parsing data and writing in output format.
  • @lokse/plugin-prettier - Plugin used to format output translations file using Prettier.
  • @lokse/plugin-fallback - Plugin for fallbacking missing translations to the default language translation.
  • @lokse/plugin-non-breaking-spaces - Plugin for replacing white spaces after single letter characters with non-breking space.

VsCode extension

There is an extension into VsCode editor that allows you to run commands easily.

Credits

Fork of https://github.com/xavierha/localize-with-spreadsheet

License

Lokse is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with ♥ by @horaklukas and all the great contributors.