translation.lua

Every piece of text the script can show, in one file: notifications, target labels, the plant and harvest panels, the drying rack and packing table, the shop and the dealer, the warehouse laptop, the admin panel, the trips and the skill tree. Around 1,350 entries.

Lua
Shared.Lang = {
    generic_error = 'Something failed. Try once more.',
    too_fast = 'Slow down a little.',
    shop_bought = 'Purchase complete for $%{amount}.',
    ...
}

The three rules

1

Translate the right side, never the left

generic_error is the key the code looks up. 'Something failed. Try once more.' is what the player reads. Change the text in quotes only.

2

Keep every %{placeholder} exactly as written

%{amount}, %{count}, %{warehouse} and so on are filled in at runtime. You may move one inside the sentence, and you should, because word order changes between languages. You may not rename it, and you may not delete it.

Lua
-- Correct
shop_bought = 'Zakup za $%{amount} zakonczony.',
 
-- Broken, the price will never appear
shop_bought = 'Zakup za $%{cena} zakonczony.',
3

Do not delete keys

A key that is missing shows up in game as the key itself. If you do not want a text, set it to an empty string rather than removing the line.

The texts are in single quotes. An apostrophe inside a text must be escaped as \', for example 'Don\'t', or the whole file stops loading. Using double quotes for that one entry works too: "Don't".


How the file is organized

The entries are grouped by section, in this order:

SectionWhat it covers
Plants, placement, harvest, stations, plant panelPlacing pots, the plant panel, the status card above a plant, the harvest window.
Pot care scenesThe soil, seed, water and feed scenes: the step strip, hints and meters.
Drying racks, packing table, crossbreedingThe rack window, the table scene, its steps and guides.
Weed Tools shop, Seed Plug, wild plantsThe shop window, the dealer, item notes and categories.
WarehousesThe marketplace at the door and every page of the laptop panel (Summary, Reports, Grow floor, Crew, Expansions, Stash, Cashbox, Members).
Warehouse crewHiring, wages, the current task of every worker and why a worker is waiting.
/weedadminEvery page, card and setting of the admin panel.
Joints and tripsSmoking, the server checks and the trip captions.
Admin: Wild weed pageThe wild bush zones editor.
Skill treeMessages about levels and missing skills.

Item names are mostly not in this file. The interface shows the label your inventory has for each item, so rename items in your inventory's item list. The few item names here are only used when the inventory has no label for that item.