Skip to content

How to multilanguage generated objects in a pre-Reforged map? #1005

Description

@GetLocalPlayer

Since all the strings are injected into the corresponding war3map... binary files.

Activity

  1. Frotty commented on Jun 30, 2021

    @Frotty
    Member

    What do you mean? There is no way for multiple languages except generating every object it multiple variations or so. Doesn't seem very feasible.

  2. GetLocalPlayer commented on Jun 30, 2021

    @GetLocalPlayer
    Author

    The classic way is to translate war3map.wts file that contained all the strings made in the object editor or in GUI triggers. You could have several versions of the same map that had different war3map.wts file. Or you could have several war3map.wts files in one single map-archive with different locales.
    Meanwhile, Wurst puts all the strings directly into the binary files that contain object definitions. Can it have compiletime-functions to generate .wts files for different locales in the same map-archive or to build several maps with different .wts files at once?

  3. Frotty commented on Jun 30, 2021

    @Frotty
    Member

    there currently is nothing like that, but it could be done, perhaps a PR?
    Also still needed for long entries over 512 characters iirc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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