Skip to content
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

Merged
merged 1 commit into from
Dec 27, 2017
Merged

Add Finnish translation to Sandstorm #3015

merged 1 commit into from
Dec 27, 2017

Conversation

xet7
Copy link
Contributor

@xet7 xet7 commented Dec 27, 2017

Added Finnish translation to Sandstorm.

@ocdtrekkie
Copy link
Collaborator

i,i it's awesome to see another localization for Sandstorm.

@kentonv
Copy link
Member

kentonv commented Dec 27, 2017

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.

@kentonv kentonv merged commit 3bca344 into sandstorm-io:master Dec 27, 2017
@xet7
Copy link
Contributor Author

xet7 commented Dec 27, 2017

@kentonv

How can I test this? Will it be included to Sandstorm release sometime?

@kentonv
Copy link
Member

kentonv commented Dec 27, 2017

@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.

@xet7
Copy link
Contributor Author

xet7 commented Dec 27, 2017

@kentonv

Ok I will install from source and test it.

@xet7
Copy link
Contributor Author

xet7 commented Dec 27, 2017

@kentonv

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?

@ocdtrekkie
Copy link
Collaborator

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

@ocdtrekkie
Copy link
Collaborator

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.

@ocdtrekkie
Copy link
Collaborator

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.

@kentonv
Copy link
Member

kentonv commented Dec 27, 2017

@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.

@ocdtrekkie
Copy link
Collaborator

I'm gonna tag @caasi and @urakagi in here since they implemented localization of Sandstorm itself. Either or both of them might be interested in implementing the same for the app market, perhaps?

@urakagi
Copy link
Contributor

urakagi commented Dec 31, 2017

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?

@ocdtrekkie
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants