Skip to content

Automatic Language File Download #4784

@xXMaximanuXx

Description

@xXMaximanuXx

What feature do you want to see added?

When the language option in settings.yml is changed (e.g., from en to de), PlotSquared should automatically download the corresponding translation file if it does not already exist.

Are there any alternatives?

The only alternative is to manually download the file from Crowdin and place it in the translations folder, as mentioned in the config, but I wasn’t able to find any way to download the file.

Anything else?

Proposed Solution:
• On startup or reload, check if the selected language file exists.
• If not, automatically download it from the official PlotSquared translation source.
• Optionally, add a setting such as auto-download-languages: true/false to control this behavior.

Benefits:
• Easier configuration process.
• Fewer user errors.
• Faster language switching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions