> For the complete documentation index, see [llms.txt](https://dynasty-store.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dynasty-store.gitbook.io/home/products/jobs/dynasty-electrician/additional-configurations.md).

# Additional Configurations

Additional configurations for Dyansty Electrician

## 1. Configure language

### Change default language <a href="#change-default-language" id="change-default-language"></a>

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:

```lua
--- 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"
```

{% hint style="info" %}
Note: To change the language, just replace the text in quotes by the one you want from the options.
{% endhint %}

### Bad or missing translation <a href="#bad-or-missing-translation" id="bad-or-missing-translation"></a>

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

```lua
    ['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",
    },
```

{% hint style="info" %}
Note: To solve the translations, simply change the text of the words that are in quotes for those that correctly adapt to your language.
{% endhint %}

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.
