Repository navigation
Locale: An Extension for Manual Translations - #2389
ScratchFakemon wants to merge 64 commits into
Conversation
|
!format |
|
Ignore the random commits about temp files and changing the deployment branch, the former were for creating the folder on GitHub web and the latter were so I could preview the gallery with these changes (which didn't end up working). These were reverted. |
|
I'm working on a block for getting the user's language code as opposed to the Translate extension's language name feature, just need to actually figure out how to get the TurboWarp language |
…duxStore and the navigator object.
|
!format |
|
Eslint warnings are because of the format changing comment positions, 1 sec |
|
grr |
FINALLY |
|
Before I forget, I'll update image attributions |
|
wow im so glad my markdown didnt trigger a type warning |
Things to eventually get doneLast updated: January 19, 2026These are in chronological order of when I wanted them done.
|
Change locale code function to use `Scratch.vm.getLocale()` (as well as a few other things) Tysm @pid-j
|
!format |
…erly The biggest thing is that, instead of completely giving up if the language name/code translation table fails to load, the user is asked for consent to try again. I haven't been able to fully test everything yet but I'll still get the commit out here so other people can test in areas that I wouldn't think about
|
i made the same commit twice since i thought it didnt work but i guess it did |
|
Sorry for letting you drag on for months on this. I don't think this is mergeable... the biggest upside of making an extension in this space should be to give an easy way to manage the strings across languages. such as, perhaps, a nice UI to do the translating by hand, import/export buttons that work with the formats that real translation problems use, but as is, everyone using this is still practically forced to write JSON. am i missing something? you can, of course, continue to use and develop this yourself though |
|
other things that would be useful to consider but are not present
|
|
If you still want to see if I can get this to a mergeable state, I could probably make some of the changes you suggested Planned
|
Converted to draft since I'm working on major changesRight now, I'm working on the expression parser for placeholders, but that's gonna take a lot of time and effort to get right since I don't know a lot about expressions sooooooooo... |
Locale is an extension for registering manual translations. This is useful if you want real, human-created translations instead of simple machine ones that the Translate extension provides. This isn't the most feature-filled extension and it didn't take too long to make, so there may be weird bugs or problems.