Var FiveM
ScriptsBundlesDocs
VAR
Var FiveM
ScriptsBundlesDocs
NewsTheme CustomizerAboutContact
Shop Now

-- 29 sections

  • ›paintball
  • ›chess
  • ›supermarket simulator
  • ›coins shop
    • configuration
    • identifier
    • export
    • server-event
    • languages
    • products
    • delivery
    • owner-panel
    • webhooks-discord
  • ›clothes shop
  • ›casino
  • ›drugs
  • ›clothes shop v2
  • ›interaction
  • ›emote
  • ›crew
  • ›alert job
  • ›pin code
  • ›society manager
  • ›property
  • ›barber shop
  • ›shop with basket
  • ›tattoo shop
  • ›gardener job
  • ›heist atm
  • ›heist fleeca
  • ›poster job
  • ›loading screen
  • ›bank
  • ›autocardealer
  • ›character creator
  • ›multi character
  • ›bill
  • ›tattoo shop v2

~/docs/coins-shop/configuration/languages

coins shop docs›
  • configuration
  • configuration/identifier
  • configuration/export
  • configuration/server-event
  • configuration/languages
  • configuration/products
  • configuration/delivery
  • configuration/owner-panel
  • configuration/webhooks-discord

Coins Shop

Languages

-- 3 code blocks · 1 min read

get var-coins-shoptry it on the test server

Var Coins Shop ships with FR / EN / ES translations. Adding a language is a 2-step process.

Configure available languages

In shared/config.lua:

lua
Language = {
  Default = "en",
  Fallback = "en",
  AllowClientSelection = false, -- true = the player can change language from the UI
  Available = {
    fr = { label = "Francais" },
    en = { label = "English" },
    es = { label = "Espanol" },
  }
}
Key Effect
Default Locale used for new accounts
Fallback Locale used when a translation key is missing
AllowClientSelection If false, the player cannot change language from the UI
Available Map of locale code → label shown in UI

Add a new language

Example: add German.

Step 1. Add the entry in Available:

lua
Available = {
  fr = { label = "Francais" },
  en = { label = "English" },
  es = { label = "Espanol" },
  de = { label = "Deutsch" }, -- new
}

Step 2. In shared/locales.lua, copy the existing en = { ... } block and translate it:

lua
de = {
  shop = {
    title = "Cash-Shop",
    -- ...
  },
  errors = {
    insufficientFunds = "Nicht genug Coins.",
    -- ...
  },
}

The script will automatically pick up the new locale on resource restart.

Per-player locale persistence

Each player's locale is stored in coins_shop_accounts.locale. It is updated when:

  • The player switches language from the UI (only if AllowClientSelection = true)
  • You call the server event var-shop:setLocale from a custom flow

The localeUpdate webhook is fired on every change.

previousserver-eventnextproducts
VAR
Var FiveM

Premium FiveM scripts. Low resmon, high quality. Built for ESX, QBCore & Standalone.

28scripts
1,500+sales

Scripts

  • Marketplace
  • Bundles
  • Theme Customizer

Most Popular

  • Supermarket Simulator
  • FiveM Casino Script
  • FiveM Coin Shop
  • FiveM Emote Menu
  • FiveM Paintball Script
  • FiveM Clothing Shop Script
  • FiveM Interaction Script
  • FiveM Character Creator

Resources

  • Free Scripts
  • Guides
  • News
  • Documentation
  • Support

Company

  • About
  • Contact
  • Discord

Legal

  • Terms
  • Privacy
  • Refunds

© 2026 Var FiveM. All sales final.

Payments byTebex