Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Translation support #7

Open
Open
@Rycochet

Description

@Rycochet

Needs a way of choosing which strings are to be translated and which not.

Translated strings are kept within a text file -

plugins/mmoCore/mmoWhatever/text.en.yml

  • The automatic file extraction in MMOPlugin class will extract them to the correct place.

Default built in language must always be "en" - but any language is permitted in the name.

Need to check what languages exist in onEnable, and provide a /reload style command to grab it from storage again.

When no translation is available it should use the default text.

When a language file exists it should automatically add any newly found untranslated strings to it (for updating the file without having to manually compare them).

Internal strings used for id should be the actual English version of the string.

Methods should translate transparently - this means that only the varargs versions of them should be used...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions