-
-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Finnish translation to Sandstorm #3015
Conversation
i,i it's awesome to see another localization for Sandstorm. |
Nice! My grandparents on my mother's side immigrated from Finland. Unfortunately I don't know the language myself, but I'm still extra-happy to see this. |
How can I test this? Will it be included to Sandstorm release sometime? |
@xet7 To test now you'll need to build from source: https://docs.sandstorm.io/en/latest/install/#option-4-installing-from-source It would be great if you could do that to verify your translation before it's released. I will probably do the next release around Jan 6, or maybe Jan 13. |
Ok I will install from source and test it. |
I did compile Sandstorm on Pop!_OS 64bit that is based on Ubuntu 17.10. I will later send fixes to this Finnish translation, to use better words. Not everything is translated, for example when installing Wekan some popups/tooltips were in English. Are there translations also in other places? Is App Market content also translatable, where new apps are installed from? Is it possible to translate Sandstorm website? |
The Sandstorm App Market should be pretty trivial to translate. Ideally for simplicity we'd want to use the same i18n package on this Meteor app: https://github.com/sandstorm-io/sandstorm-app-market The App Market has not a whole ton of text of it's own, so I shouldn't think this would be a huge project. Most of the issue is that the App Market's apps all have text, which currently doesn't localize, even though there exists a design to do so. If you look at Wekan's pkgdef, Maxime had put in some of the French translations, including a very outdated changelog in French: https://github.com/wekan/wekan/blob/devel/sandstorm-pkgdef.capnp and https://github.com/wekan/wekan/blob/devel/meta/t9n-changelog/fr.md |
This is the PR that added tap:i18n to Sandstorm itself: #2985 and the first commit is really, most of the change from a technical standpoint. The rest of that giant PR is string replacement. |
Note that translating the main sandstorm.io website would be very much not even remotely trivial. The sandstorm.io website is mostly static html, and many of the images contain text. |
@xet7 Sandstorm's i18n is definitely incomplete. The i18n hooks were added in #2985, but not everything was hooked. I'm happy to accept PRs to add more hooks. I'd also be happy for someone to take over the app market and add i18n hooks there, though as Jake points out the app descriptions come out of the app packages and so won't be translated unless the package maintainer adds translations. There is indeed support in the metadata structures for specifying translations, although I suspect the way it's done currently isn't very maintainable -- it's organized by message rather than by language, which probably means it'll be a mess for anyone supporting more than a couple languages. We should probably develop a better way for apps to provide separate translation tables, but that's a big project. Regarding the Sandstorm web site, I'd rather not try to translate it currently, as doing so would make it pretty difficult for me to make changes to the site going forward -- and the site is currently in need of an overhaul to make it less commercial. |
I'm not sure about the structure of the app market. Is it as same as Sandstorm shell so add tap-18n and modifying templates will do the work? |
Should be more or less the same thing, yeah. AFAIK, there's also massively less text in the app market. Most of the text in it comes from the app packages themselves. |
Added Finnish translation to Sandstorm.