General Localization Guide

All Of Saka Resources comes with built-in support for multiple languages. You can easily customize or add new translations for headers, buttons, and other UI text.


Localization files are stored in

/locales/
├── en.lua
├── de.lua
├── fr.lua
├── cs.lua

Each file contains a Lua table like (example)

Locales['en'] = {
    settingsTitle = "Notification Settings",
    position = "Position",
    duration = "Duration",
    close = "Close"
}

Changing The Default Language

In config.lua, set your desired locale:

Config.Locale = 'en' -- or 'de', 'fr', 'cs'

This will load the matching file from the /locales/ folder.


Adding a New Language

  1. Duplicate an existing file (e.g., en.lua) and rename it, e.g.:

locales/es.lua
  1. Translate the values inside e.g.:

Locales['es'] = {
    settingsTitle = "Configuración de Notificaciones",
    position = "Posición",
    duration = "Duración",
    close = "Cerrar",
    minimize = "Minimizar",
    maximize = "Maximizar",
    notificationSound = "Sonido de Notificación",
    left = "Izquierda",
    right = "Derecha",
    top = "Arriba",
    bottom = "Abajo"
}
  1. Update config file

Config.Locale = 'es'

That’s it! Your notification UI will now show your custom language.

Last updated