addText

public static String addText(String filename, String key, String value)

Adds a content field (boss, item, NPC, quest, arena, event, wormhole or content package text) and returns the display-ready value.

Content packages are overwritten on every import, so content text is keyed by its English rather than by its field: text.<hash>, with the line in the en column. A translation only ever shows for the exact text it was written for, text repeated across files and packages is translated once, and the CSV, which imports never touch, carries translations across package updates. Reworded text is a new row and shows in English until it is translated. A translation stored under the field key (<file>.<field>) moves over the first time.


public static List<String> addText(String filename, String key, List<String> value)

List counterpart of addText. The whole list is one row, so a translation may use a different number of lines.