Garry's Mod Leaks
Translating Language Files
Submitted by iLqg, 11-06-2023, 06:19 AM, Thread ID: 266595
So as you may know, some addons come in different languages and don't have proper support for the language you want. If you're looking for a somewhat accurate and fast translator you can use OpenAI's ChatGPT to quickly spit out a translated config.
Original Language Config:
Translated Config:
From what I know this works for converting any language to any language specified. Hope this somewhat helps you in your journey!
Original Language Config:
Code:
zvm = zvm or {}
zvm.language = zvm.language or {}
zvm.language.General = zvm.language.General or {}
if (zvm.config.SelectedLanguage == "fr") then
zvm.language.General["Pay"] = "Payer"
zvm.language.General["Back"] = "Retour"
zvm.language.General["InCorrectRank"] = "Vous n'avez pas le bon rang!"
zvm.language.General["BuyLimitReached"] = "Limite d'achat atteinte!"
zvm.language.General["NotEnoughMoney"] = "Vous n'avez pas assez d'argent!"
zvm.language.General["PressToStart"] = "Appuyez pour démarrer!"
zvm.language.General["Occupied"] = "Occupé!"
zvm.language.General["EditProducts"] = "Editer Protuits"
zvm.language.General["Customization"] = "Customizer"
zvm.language.General["Apply"] = "Appliquer"
zvm.language.General["Products"] = "Produits"
zvm.language.General["ChangeRank"] = "Changer le Rang"
zvm.language.General["ChangeName"] = "Changer le Nom"
zvm.language.General["ChangePrice"] = "Changer le Prix"
zvm.language.General["ChangeColor"] = "Changer la Couleur"
zvm.language.General["Skins"] = "Skins"
zvm.language.General["None"] = "Aucun"
zvm.language.General["PurchaseSuccessful"] = "Achat réussi!"
zvm.language.General["PackageOpens"] = "Le paquet s'ouvre"
zvm.language.General["YouDontOwnThis"] = "Ceci ne vous appartient pas !"
zvm.language.General["ChangeJob"] = "Changer de groupe de travail"
zvm.language.General["Restrictions"] = "Restrictions"
zvm.language.General["Appearance"] = "Apparence"
zvm.language.General["ChangeBackgroundColor"] = "Couleur de fond"
zvm.language.General["WrongJob"] = "Mauvais travail!"
zvm.language.General["OutofOrder"] = "Hors service"
zvm.language.General["Payout"] = "Paiement"
zvm.language.General["CurrencyType"] = "Type de devise"
zvm.language.General["Money"] = "Argent"
zvm.language.General["ChangeCurrency"] = "Changer de devise"
end
Translated Config:
Code:
zvm = zvm or {}
zvm.language = zvm.language or {}
zvm.language.General = zvm.language.General or {}
if (zvm.config.SelectedLanguage == "en") then
zvm.language.General["Pay"] = "Pay"
zvm.language.General["Back"] = "Back"
zvm.language.General["InCorrectRank"] = "You don't have the correct rank!"
zvm.language.General["BuyLimitReached"] = "Buy limit reached!"
zvm.language.General["NotEnoughMoney"] = "You don't have enough money!"
zvm.language.General["PressToStart"] = "Press to start!"
zvm.language.General["Occupied"] = "Occupied!"
zvm.language.General["EditProducts"] = "Edit Products"
zvm.language.General["Customization"] = "Customization"
zvm.language.General["Apply"] = "Apply"
zvm.language.General["Products"] = "Products"
zvm.language.General["ChangeRank"] = "Change Rank"
zvm.language.General["ChangeName"] = "Change Name"
zvm.language.General["ChangePrice"] = "Change Price"
zvm.language.General["ChangeColor"] = "Change Color"
zvm.language.General["Skins"] = "Skins"
zvm.language.General["None"] = "None"
zvm.language.General["PurchaseSuccessful"] = "Purchase successful!"
zvm.language.General["PackageOpens"] = "The package opens"
zvm.language.General["YouDontOwnThis"] = "You don't own this!"
zvm.language.General["ChangeJob"] = "Change Job Group"
zvm.language.General["Restrictions"] = "Restrictions"
zvm.language.General["Appearance"] = "Appearance"
zvm.language.General["ChangeBackgroundColor"] = "Background Color"
zvm.language.General["WrongJob"] = "Wrong job!"
zvm.language.General["OutofOrder"] = "Out of order"
zvm.language.General["Payout"] = "Payout"
zvm.language.General["CurrencyType"] = "Currency Type"
zvm.language.General["Money"] = "Money"
zvm.language.General["ChangeCurrency"] = "Change Currency"
end
From what I know this works for converting any language to any language specified. Hope this somewhat helps you in your journey!
This hidden content has been reported as not working 0 times this month.
1 times in total
----------
Returned to help around nulled.
3+ Years on Nulled.BB
Returned to help around nulled.
3+ Years on Nulled.BB
Users browsing this thread: 1 Guest(s)