Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Allow generic translation mechanisms #280

Description

@hbons

We should allow users to easily hook up their own translation mechanisms. In code generation, we allow to check "Make strings translatable".

This wraps all generated strings a translation method, e.g. Strings.Get("Done").

We should also generate the boilerplate class Strings.cs for the user to implement. Something like:

using MyTranslationLibrary;

class Strings
{
    public static string Get(string s)
    {
         // User implements their own translation mechanism here
         return s;
    }
}

This class will not be overwritten by updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions