Closed
Description
Created by: yu-tang
Description
I read a translations wiki page.
https://github.com/processing/processing4/wiki/Translations#two-ways-to-get-started
So I attempted using a user language file but have no luck.
My PDE simply ignores them.
Expected Behavior
The PDE uses user base/language files for i18n from my sketchbook folder if they are available.
Current Behavior
No user language files allowed.
No errors, just treat them like they are invisible.
Steps to Reproduce
- Put the following modified files in your sketchbook folder.
- languages/PDE.properties
- languages/PDE_ja.properties
I don't think it's a Japanese language specific, so feel free to replace above with your language file.
- Run PDE.
- See if your changes has been applied. (No, in my case)
Your Environment
Processing 4.2 + Windows 10
Possible Causes / Solutions
I quick look at a processing/app/Language.java.
Language.init() internally calls Base.getSketchbookFolder() via LanguageBundle for building a user language file path.
But the Base.getSketchbookFolder() seems always returns null at that point because the Preferences class is not initialized yet.
Metadata
Metadata
Assignees
Labels
No labels