Skip to content

Commit

Permalink
Add language support
Browse files Browse the repository at this point in the history
  • Loading branch information
Giana committed Feb 17, 2023
1 parent a5fe9ef commit 5cdbe40
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ author 'Giana - github.com/Giana'
description 'g-drugselling'

shared_scripts {
'@qb-core/shared/locale.lua',
'locales/en.lua',
'config.lua'
}

Expand Down
22 changes: 22 additions & 0 deletions locales/en.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
local Translations = {
error = {

},
success = {

},
menu = {

},
button = {

},
other = {

}
}

Lang = Locale:new({
phrases = Translations,
warnOnMissing = true
})

0 comments on commit 5cdbe40

Please sign in to comment.