Dynasty Store Documentation
DiscordOfficial WebsiteYouTube
  • 🏠Home
  • 📦Products
    • 👔Jobs
      • 👨‍🔧Dynasty Electrician
        • 💾Install Guide
        • 📕User guide
        • ⚙️Additional Configurations
        • 🛠️Common Issues
      • ⛏️Dynasty Miner
        • 💾Install Guide
        • 📕User guide
        • ⚙️Additional Configurations
        • 🛠️Common Issues
      • 🪙Dynasty Treasure Hunter
        • 💾Install Guide
        • 📕User guide
        • ⚙️Additional Configurations
        • 🛠️Common Issues
      • ⛑️Dynasty Lifeguard
        • 💾Install guide
        • 📕User guide
        • 🛠️Common issues
    • 🖌️UI
      • 🎯Dynasty Waypoint
        • 💾Install guide
        • 📕User guide
        • 🛠️Common issues
      • 🌀Dynasty Text 3D
        • 💾Install guide
        • 📕User guide
        • 🛠️Common issues
      • 💬Dynasty Notify
        • 💾Install Guide
        • 📕User guide
        • 🛠️Common issues
      • 🧾Dynasty Scoreboard
        • 💾Install Guide
        • 📕User guide
        • 🛠️Common issues
    • 🔫Dynasty Mug & Carjack
      • 💾Install guide
      • 📕User guide
      • 🛠️Common issues
Powered by GitBook
On this page
  • 1. Configure language
  • Change default language
  • Bad or missing translation
  1. Products
  2. Jobs
  3. Dynasty Electrician

Additional Configurations

Additional configurations for Dyansty Electrician

1. Configure language

Change default language

To change the language of our Dynasty Electrician, we must go to dynasty_electrician/config/translations.lua

By default, we will find this in the first few lines:

--- Select your language here.
--- Available languages: en, it, es, fr, pt, de, ru, tr
--- But you can modify them or create your own language below.
Config.Language = "en"

Note: To change the language, just replace the text in quotes by the one you want from the options.

Bad or missing translation

The Dynasty Electrician is translated into many languages, but since we are not speakers of all the available languages, there may be errors in the translation, here is the solution:

In dynasty_electrician/config/translations.lua, if you scroll down, you will find the translations, they will look like this, we will take the French translation as an example, but it is the same for all

    ['fr'] = {
        ---@TargetScriptOptions
        ["TARGET_START_WORKING"] = "Commencer à travailler.",
        ["TARGET_STOP_WORKING"] = "Arrête de travailler",
        ["TARGET_OPEN_CLOAKROOM"] = "Armoire ouverte.",
        ["TARGET_SELL_WIRES"] = "Vendre des câbles",
        ["TARGET_REPAIR_FUSE"] = "Réparez le fusible.",
        ["TARGET_REPAIR_LIGHT"] = "Réparez la lumière.",
        ["TARGET_TAKE_LADDER"] = "Prendre l'échelle",
        ["TARGET_STORE_LADDER"] = "Entreposer l'échelle",

        ---@Notifications
        ["NOTIFY_SUCCESFULLY_REPAIRED"] = "Vous avez réparé un fusible, la ville appréciera.",
        ["NOTIFY_FAILED_REPAIR"] = "Vous n'avez pas réussi à réparer le fusible.",
        ["NOTIFY_TRY_TO_PLACE_LADDER_FAR"] = "Vous n'êtes pas près d'une lumière",
        ["NOTIFY_TRY_TO_PLACE_LADDER_IN_OTHER_TASK"] = "Vous ne pouvez pas placer une échelle dans votre tâche actuelle.",
        ["NOTIFY_YOU_FIXED_FUSE"] = "Vous avez réparé un fusible, vous avez gagné $",
        ["NOTIFY_YOU_FIXED_LIGHT"] = "Vous avez réparé une lumière, vous avez gagné $",
        ["NOTIFY_YOU_SOLD"] = "Vous avez vendu ",
        ["NOTIFY_AND_RECEIVED"] = " et vous avez reçu $",
        ["NOTIFY_OBJECT_NOT_FOUND"] = "Objet introuvable dans l'inventaire.",
        ["NOTIFY_NO_LADDER_IN_CAR"] = "Cette voiture n'a pas d'échelle.",
        ["NOTIFY_ALREADY_HAVE_LADDER"] = "Vous transportez déjà une échelle.",
        ["NOTIFY_NOT_HAVE_LADDER"] = "Vous n'avez pas d'échelle à stocker.",
        ["NOTIFY_WORK_FINISHED"] = "Vous avez terminé votre shift de travail, revenez quand vous voulez.",
        ["NOTIFY_ALREADY_IN_TASK"] = "Vous effectuez déjà une tâche.",
        ["NOTIFY_NOT_ON_DUTY"] = "Vous n'êtes pas de service, vous devez porter votre uniforme.",
        ["NOTIFY_ONLY_STORE_WORK_VEHICLE"] = "Vous ne pouvez stocker que le véhicule de travail !",
        ["NOTIFY_INTO_VEHICLE_TO_STORE"] = "Vous devez être dans un véhicule pour le sauvegarder!",

        ---@Blips
        ["ELECTRIC_FUSE"] = "Fusible cassé",
        ["ELECTRIC_LIGHT"] = "Lumière cassée",

        ---@UI/Menus
        ["CONTINUE_WORKING"] = "Voulez-vous continuer à travailler?",
        ["YOUR_WINNINGS"] = "Vos gains sont de $",
        ["DECISION_YES"] = "Continuer à travailler",
        ["DECISION_NO"] = "Terminer et être payé",
        ["REQUIRED_COMBINATION"] = "Code requis: ",
        ["SET_COMBINATION"] = "Votre code: ",
        ["CLOAKROOM_TITLE"] = "Vestiaire",
        ["CIVILIAN_CLOTHES"] = "Vêtements civils",
        ["WORK_CLOTHES"] = "Vêtements de travail",

        ---@Help Notifications
        ["HELP_TEXT_DRIVE_TO_FUSE"] = "Suivez l'itinéraire indiqué sur la carte pour trouver la boîte à fusibles cassée et la réparer.",
        ["HELP_TEXT_DRIVE_TO_LIGHT"] = "Suivez l'itinéraire indiqué sur la carte pour trouver le lampadaire cassé et le réparer.",
        ["HELP_TEXT_PICKUP_LADDER_FLOOR"] = "Ramassez votre échelle du sol et allez terminer la tâche !",
        ["HELP_TEXT_PLACE_LADDER_LIGHT"] = "Placez l'échelle sur le lampadaire.",
        ["HELP_TEXT_PICKUP_LADDER_VEHICLE"] = "Ramassez l'échelle dans le véhicule.",
        ["HELP_TEXT_REPAIR_LIGHT"] = "Réparez le lampadaire.",
        ["HELP_TEXT_REPAIR_FUSE"] = "Réparez la boîte à fusibles.",
        ["HELP_TEXT_YOU_ARE_MISSING_LADDER"] = "Vous avez oublié l'échelle sur le lampadaire, retournez la chercher.",

        ---@Hint Notifications
        ["HINT_SAVE_VEHICLE"] = "~INPUT_PICKUP~ Sauvegarder le véhicule",
        ["HINT_PICKUP_LADDER_FLOOR"] = "~INPUT_PICKUP~ Prendre l'échelle",
        ["HINT_PICKUP_LADDER_PLACED"] = "~INPUT_PICKUP~ Pick up ladder",
        ["HINT_TEXT_ALL_OPTIONS"] = "Déposer l'échelle\nINPUT_PICKUP Placer l'échelle\nINPUT_MP_TEXT_CHAT_TEAM Basculer l'aperçu",
    },

Note: To solve the translations, simply change the text of the words that are in quotes for those that correctly adapt to your language.

If your language is not in the list of translations, simply copy another existing translation and paste it below the others, you should replace the name of the translation, ['fr'] in the case above, by letters that are identified with the name of your language, and finally, change it also in Config.Languages in the first lines of config.

PreviousUser guideNextCommon Issues

Last updated 1 year ago

📦
👔
👨‍🔧
⚙️