How to edit OX LIB Locales (Its an example on sf_spawnnpccopy [OLD Version] )
First you need to add setr ox:locale en to your server.cfg and restart your server :D
Now go to sf_spawnnpccopy/locales if you want to edit the english one just do it in the en.json
How to add your own language?
Just add a new file ex. fr.json
fr.json
{
"spawnnpcnotifytitle": "SYSTÈME",
"spawnnpcnotifydescription": "NPC cloné avec le même apparence que vous",
"deletetitle": "SYSTÈME SUPPRIMER",
"deletedescription": "Tous les NPC ont été supprimés.",
"maxtitle": "SYSTÈME MAX",
"maxdescription": "Vous avez atteint la limite de combien vous pouvez en faire apparaître.",
"animationtitle1": "ANIMATION",
"animationdescription1": "NPC jouant une animation personnalisée",
"animationtitle2": "ANIMATION",
"animationdescription2": "Pas de NPC pour jouer l'animation.",
"animationtitle3": "ANIMATION",
"animationdescription3": "Spécifiez à la fois le dictionnaire d'animation et le nom de l'animation",
"animationtitle4": "ANIMATION",
"animationdescription4": "L'animation a été arrêtée",
"menutitle": "Menu de Copie de Spawn NPC",
"spawnoptionstitle": "Options de Spawn",
"spawnnpctitle": "Apparaître NPC",
"spawnnpcdescription": "Fait apparaître une copie de vous",
"deletenpctitle": "Supprimer NPC",
"deletenpcdescription": "Supprime toutes les copies de vous",
"weaponoptionstitle": "Options d'Arme",
"giveweapontitle": "Donner Arme",
"giveweapondescription": "Donne une arme à toutes les copies",
"giveweaponlabel": "Écrivez l'ID de l'arme sur l'arme que vous voulez",
"giveweapondescription2": "ex. weapon_pistol",
"removeweapontitle": "Enlever Arme",
"removeweapondescription": "Retire l'arme de toutes les copies",
"animationoptions": "Options d'Animation",
"startanimationtitle": "Démarrer Animation",
"startanimationdescription": "Démarrer une animation pour toutes les copies",
"animationdictionarylabel": "Dictionnaire d'Animation",
"animationdictionarydescription": "ex. anim@amb@nightclub@mini@dance@dance_solo@female@var_a@",
"animationnamelabel": "Nom de l'Animation",
"animationnamedescription": "ex. high_center",
"stopanimationtitle": "Arrêter Animation",
"stopanimationdescription": "Arrêter l'animation actuelle",
"menudebugmessage": "Retour en arrière !"
}
Then go to your server.cfg and edit the setr ox:locale en to setr ox:locale fr