🏜️
Sahara Scripters
  • Welcome
    • Introduction
    • Community & Support
  • Premium Scripts
    • Charging Kiosk
      • Setup Guide
      • Configuration
      • Features
        • Charging System
        • Security
        • Rate Limiting
        • Logging System
        • Phones Management
        • Discord Integration
        • Target System
        • Blip System
        • Translations
      • Integration
        • Inventory Systems
        • Framework Migration
        • Logger Edit
      • Best Practices
      • Troubleshooting
      • Version History
  • Free Scripts
    • Elevator System
      • Setup & Configuration
      • Features Overview
      • Example Buildings
      • Troubleshooting
    • NPWD Renewed Weather APP
    • NPWD QBX Services APP
Powered by GitBook
On this page
  • πŸ“ Structure
  • πŸ”„ Adding New Language
  • πŸ“š Available Languages
  1. Premium Scripts
  2. Charging Kiosk
  3. Features

Translations

πŸ“ Structure

return {
    main = {
        errors = {
            kiosk_ui_data = 'Your translated message',
            invalid_data = 'Your translated message'
        }
    },
    payment = {
        success = {
            payment = 'Payment: %s$ for %s charging',
            refund = 'Refund reason: %s'
        }
    }
}

πŸ”„ Adding New Language

  1. Copy en.lua from locales folder

  2. Rename to your language code (e.g., de.lua)

  3. Translate all messages

  4. Keep %s and %d placeholders intact

πŸ“š Available Languages

  • πŸ‡ΊπŸ‡Έ English (en.lua)

  • πŸ‡«πŸ‡· French (fr.lua)


Translated by Sahara Scripters - Lost in translation? Not our problem

PreviousBlip SystemNextIntegration

Last updated 4 months ago