Skip to content

Languages & Extensions

Mackenzie McClane edited this page Feb 8, 2020 · 9 revisions

Wayward's language JSON files are used to provide new languages. They are also used to extend/tweak existing languages, such as changing the default translations for things in existing languages (sort of like a language patch) and translating new content that is added.

Required Properties

name or extends

A language file must have exactly one of either name or extends.

  • name — This file defines a new language by this name.
  • extends — This file extends an existing language by this name.

dictionaries

An object containing dictionaries. A dictionary is a key-value pair of the dictionary name, and the entries (or translations) in the dictionary.

As a simple example, let's say you want to change the name of the branch item. Your dictionaries would look like the following:

"dictionaries": {
    "items": {
        "branch": ["stick", "Useful for playing fetch."]
    }
}

A translation is always either a string "some text here" or an array of strings ["some text here", "more text", "etc"]. "text" is functionally equivalent to ["text"]. Each string in an array of strings is a different part of the translation, for example:

  • Entries in the item, creature, and doodad dictionaries are [Name, Description].
  • Entries in the book dictionary are [Author, Text].
  • Entries in the helpArticle dictionary are [Name, Summary, Subtitle, Text].
  • Entries in the humanName dictionary are actually any number of different names that can be used.

pluralizationRules

pluralRules

singularRules

irregularRules

uncountables

articleRules

Getting Started

Mod Content

Script Documentation

(apologies for all the missing guides, we'll get to them at some point)

Clone this wiki locally