View Single Post
01/02/22, 09:56 AM   #1
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
$(language).lua question

How does
Lua Code:
  1. Langs/en.lua
  2. Langs/$(language).lua
(in the .txt file) work ?

I understood it charges the default en.lua language file and then the language file of the user language if any.
But let's say we have new variables in the en.lua file that are not in the fr.lua file, will these be displayed in english from the en.lua file charged before or will it cause an error/exception ?
  Reply With Quote