đŸŗī¸Translate

If you want add custom language

1. Create file

  • Create new .lua file into locales folder

  • Change file name to language prefix

2. Insert into file


if not Lang then Lang = {} end

Lang['en'] = {
    ['admin_panel'] = "Admin Panel",
    ['reaport_panel'] = "Reports",
    ['send'] = "Pending",
    ['in_progress'] = "In Progress",
    ['closed'] = "Closed",
    ['reaport_status'] = "Report Status",
    ['new_reaport'] = "New Report",
    ['title'] = "Title",
    ['descrption'] = "Description",
    ['teleport'] = "Teleportation",
    ['spawn_car'] = "Spawn Vehicle",
    ['car_resp'] = "Vehicle Model",
    ['set_ped'] = "Change Ped",
    ['ped_model'] = "Ped Model",
    ['reaport_status_notify'] = "The status of your report with ID: %s, has been changed to: %s",
    ['unban'] = "Unban",
    ['ban_time'] = "Change Ban Duration",
    ['ban_end'] = "Until",
    ['admin'] = "Administrator",
    ['check_bans'] = "Checking ban list...",
    ['ban'] = "\n\n You have been banned by: %s, \n\n for: %s.  \n\n Your ban ends: %s ",
    ['resource_version_check'] = "New UPDATE available now!^0\nYour version: ^1 %s ^0\nNew version: ^2 %s ^0\nUpdates: ^2 %s ^0\n\n^5Download now from keymaster.fivem.net^0",
    ['ban_change'] = "Change ban duration",
    ['date'] = "Date",
    ['hour'] = "Hour",
    ['kick'] = "Kick Player",
    ['reason'] = "Reason",
    ['ban'] = "Ban Player",
    ['perm'] = "Permanently",
    ['setjob'] = "Set Job",
    ['job_name'] = "Job Name",
    ['job_grade'] = "Rank",
    ['setmoney'] = "Set Account Balance",
    ['money_name'] = "Account Name",
    ['money_count'] = "Amount",
    ['give_item'] = "Add Item",
    ['item_name'] = "Item Name",
    ['annoucment'] = "Announcement",
    ['text'] = "Text",
    ['time'] = "Time in seconds",
    ['vslow'] = "Very Slow",
    ['slow'] = "Slow",
    ['normal'] = "Normal",
    ['fast'] = "Fast",
    ['vfast'] = "Very Fast",
    ['efast'] = "Extremely Fast",
    ['efast2'] = "Extremely Fast 2.0",
    ['max'] = "Maximum Speed",
    ['up'] = "Fly Up",
    ['down'] = "Fly Down",
    ['rot'] = "Rotate Left/Right",
    ['frbac'] = "Fly Forward/Backward",
    ['speed'] = "Change Speed",
}

3. Open translate.js

  • Open translate.js in ui folder

  • Insert this code into lang array

en: {
        main_info: "Main Page",
        on_players: "Active Players",
        off_players: "Offline Players",
        bans: "Ban List",
        stats: "Statistics",
        server_set: "Server Settings",
        reaport: "Reaports",
        cmd: "Server Console",
        "stats-players": "players",
        "stats-reaport": "Reaports",
        "stats-ban": "Bans",
        "stats-job": "Jobs",
        "stats-weapon": "Weapons",
        main_info_player: "Active <br> Players",
        main_info_adm: "Active <br> Administrators",
        main_info_reaport: "Active <br> Reaports",
        main_info_player_opt_text: "Player",
        main_info_player_opt_gm: "God Mode",
        main_info_player_in: "Invisibility",
        main_info_player_nc: "Noclip",
        main_info_player_rv: "Revive",
        main_info_teleport_opt: "Teleportation",
        main_info_teleport_opt_point: "Waypoint",
        main_info_veh_opt_coords: "Coordinates",
        main_info_veh_opt_text: "Vehicles",
        main_info_veh_opt_spawn: "Spawn",
        main_info_veh_opt_repair: "Repair",
        main_info_display_opt_text: "Display",
        main_info_display_opt_nick: "Nicknames",
        main_info_display_opt_coords: "Coordinates",
        main_info_misc_opt_text: "Additional",
        main_info_misc_opt_ped: "Set Ped",
        main_info_misc_opt_anon: "Announcement",
        chat_send: "Administrative Chat",
        ser: "Find Player [ID/Nick]",
        ser4: "Find Reaport [ID]",
        close: "Close",
        reaport_adm_text: "Active <br> Administrators",
        reaport_reaport_text: "Your Active <br> Reaports",
        rep_c_new: "New Reaport",
        r_name_a: "Reaports",
        rep_a_return: "Return",
        rep_a_manage: "Manage",
        rep_a_status: "Change Status",
        ser5: "Find Ban [id/identifier/nick]",
        player_manage_name: "data",
        player_manage_iden: "identifier",
        player_manage_time: "playtime",
        player_manage_manage_opt_text: "management",
        player_manage_manage_opt_kick: "kick",
        player_manage_manage_ban: "ban",
        player_manage_manage_revive: "revive",
        player_manage_manage_freez: "freeze",
        player_manage_teleport_opt_text: "teleportation",
        player_manage_teleport_opt_tome: "to me",
        player_manage_veh_opt_to: "to player",
        player_manage_display_opt_text: "display",
        player_manage_display_opt_spec: "spectate",
        player_manage_display_opt_inv: "inventory",
        player_manage_display_opt_scr: "screenshot",
        player_manage_set_opt_text: "options",
        player_manage_set_opt_job: "job",
        player_manage_set_opt_money: "money",
        player_manage_set_opt_item: "items",
    },

Last updated