Closed chrissnyder closed 8 years ago
Readymade is a giant hack and its own strings aren't actually translated anywhere.
Is it just the team page and the navigation? The team page can be fixed easily.
I think the nav can be fixed quickly by adding data-t7e-key
attributes, but to fix it right will require a bit of work.
What I can find:
I'd be cool with saying no other readymade project would be translateable, but I feel like we shouldn't throw away the work always done on Pengiuns, and should make an effort to hack it in if necessary. @ttfnrob thoughts?
Agreed, I think - depending on what the hack looks like.
On 3 Dec 2014, at 12:33, Chris Snyder notifications@github.com wrote:
What I can find:
Navigation Get Started button on homepage Team page Misc. buttons above subject image on classifier I'd be cool with saying no other readymade project would be translateable, but I feel like we shouldn't throw away the work always done on Pengiuns, and should make an effort to hack it in if necessary. @ttfnrob thoughts?
— Reply to this email directly or view it on GitHub.
Proposed fix (not too big a hack; it hooks into the built-in Zooniverse translator) in Zooniverse/zooniverse-readymade#20
I've merged the translation branch into master on readymade. Bumped the version to 0.6.4.
I think all that's left that's hardcoded in English are the team page and the title of the science page.
Bumping this because I've added a couple of new keys to en-us.coffee.
Spanish version is being tested at http://penguinwatch.org/beta
@chrissnyder did you ever figure out why the team page text from en-us.coffee isn't showing up in the translations app?
I'd hazard a guess in this case that it just needs to be seeded again. See something like https://github.com/zooniverse/Milky-Way-Project/blob/master/package.json#L24
Cheers @chrissnyder that did the trick. New keys available to translate at http://translations.zooniverse.org/#/projects/penguin
See http://www.penguinwatch.org/?lang=./translations/es.json