IntellectualSites / IntellectualSites/PlotSquared
Automatic Language File Download
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 653
- Forks
- 975
- Avg merge
- 2m
- Merged PRs (30d)
- 6
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the startup or reload entry points that read settings.yml and load files from the translations folder. Check how the official PlotSquared translation source can be used, then define the missing-file behavior and optional auto-download-languages setting; done means a selected missing language is obtained automatically without disrupting existing files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100