Skip to content

Advice on lang files and i18n #9

@wohaopa

Description

@wohaopa

I think when you write a mod like this you have to jump through files and write description string and you have to think about keys and things like that. Can we use a preprocessor to do it directly.
For example: use a special comment construct to write the description string directly where it is needed instead of key as we are using now.

// #tr demo.key
// #en_US Demo
// #zh_CN 演示
// # more language
anything code

Just like the addition in this PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions