Adding and enabling new languages from Crowdin #245
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Download the artifacts for this pull request:
GUI-less
Only for Developers
You probably should change all urls like
https://ryujinx.org/
tohttps://ryujinx.app/download
Isn't there a way to automatically update all translations with new strings?
I don't think so, as far as I know....
If your question is related of what I said previously, you have only 5 urls to edit... so just change them manually and comit.
@yeager you probably should make the four edits I suggested up here
I believe I have added Swedish to all aspects of the UI. Code compiles OK and all works
@nicola02nb ping :)
Excuse me, why ping?
Oh, I thought you could approve this
Nope, as far as I know only @GreemDev can...
Max
should probably be updated toFinnish
instead ofChineseTraditional
to correspond with the actual max value of the enumThe layout of this entire file is inconsistent with the others
It has been sorted alphabetically in order to be able to see all new strings from the en-US.json
Thanks. Done
Removing this old NO translation due to newer in https://github.com/GreemDev/Ryujinx/pull/338
I have rearranged the sv_SE.json in the correct order now
The locales system has undergone basically an entire refactoring, which makes this PR not able to be merged unless it is redone with the new changes.
I apologize for this inconvenience, I hope it is made up by the fact that the new system is cleaner, and should be easier to translate.
You can add new languages by opening up the
locales.json
file (where theLocales
folder containing the various JSONs was previously) and adding the short language code (that previously was the file's name) to theLanguages
list at the top.Once that's done you open up the project in an IDE (Visual Studio Community & Rider both work, VS Code might) and do a "rebuild" specifically. The locale file validator only runs on rebuild. That will go through each locale key and add an empty string for the languages that are missing, to simplify adding a new language.
If you want any assistance just @me Yeager. i would be happy to help to reduce the workload abit for you.
Nah, I'm good. Will take a look at this right now
All done now.
Compiles good and works good. Awesome, guys!
41>------ Rebuild All started: Project: Ryujinx.Headless.SDL2, Configuration: Debug x64 ------
38>Ryujinx.Tests -> C:\Users\windo\Downloads\dump\Ryujinx\src\Ryujinx.Tests\bin\x64\Debug\net9.0\Ryujinx.Tests.dll
41>Ryujinx.Headless.SDL2 -> C:\Users\windo\Downloads\dump\Ryujinx\src\Ryujinx.Headless.SDL2\bin\x64\Debug\net9.0\Ryujinx.Headless.SDL2.dll
40>Ryujinx -> C:\Users\windo\Downloads\dump\Ryujinx\src\Ryujinx\bin\x64\Debug\net9.0\Ryujinx.dll
========== Rebuild All: 41 succeeded, 0 failed, 0 skipped ==========
========== Rebuild completed at 10:39 and took 09,893 seconds ==========
Pull request closed