For the complete documentation index, see llms.txt. This page is also available as Markdown.

Locale

Use locale files to translate text shown by rcore_mdt, including the MDT interface.

💬 Default Locales

The resource includes:

rcore_mdt/locales/en.lua
rcore_mdt/locales/es.lua
rcore_mdt/locales/fr.lua

Set the active locale in configs/sh_config.lua:

CONFIG.Locale = 'en'

🌍 Add a New Language

  1. Copy rcore_mdt/locales/en.lua.

  2. Rename the copy to your language code, for example de.lua.

  3. Change the first line from Locales['en'] to your language code:

Locales['de'] = {
  1. Translate the values inside the file. The ui table holds the text of the MDT interface.

  2. Set dateLocale inside the ui table to your language, for example "de-DE". It is used to format dates.

  3. Set CONFIG.Locale to the new language code.

No web rebuild is needed.

Last updated