I’ve been filling out the translation for my language in pontoon and I’d like to see how it all looks in context, in the app itself. How would I do that? Maybe I missed it somewhere but I didn’t find any instructions regarding this.
Do i somehow get the translation files from pontoon and put them somewhere in my local Anki install? Or do I have to build from source to be able to do this?
Though if you only want to check certain strings in certain contexts, then you could use the AnkiWebView Inspector Addon and change the string on the fly. Doesn’t work for non-webviews though.
One of the main benefits of the localization being fully integrated is that you don’t need to preview it in the app. If you keep length in mind, and do a bit of sampling/testing when it first comes out in a beta release, the system should take care of the rest and the localized text will just work. Core Interface - Anki Translation Guide
Ah, I see, that’s unfortunate. So I’d have to install rust and compile everything from scratch or is there a quicker way with those prebuilt python wheel thingies? I don’t need anything fancy, I only want to use the .ftl files for my locale to see what it would look like in the UI.
Seeing everything in the UI would help with testing, yes, but the main reason I want to do it is for a morale boost, to see the results of my translation labor take shape in the app itself. Working in pontoon feels kinda disconnected when I can’t see the results in context. And who knows when the next beta will release, it could be a while…
Ok so I built from source but the newest strings aren’t in the app, only some older ones. Are there any instructions for this that I might have missed?
I went into the core-repo folder and pulled the latest changes, so the newly translated strings from pontoon are definitely in that core-repo folder, I checked. During build it even said that it’s building anki-i18n or something similar, so I think it should have worked? Do I need to clear some sort of cache to force it to take the new strings or something?