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

translation to-do: move text out of the views #153

Open
arena opened this issue Jun 22, 2015 · 5 comments
Open

translation to-do: move text out of the views #153

arena opened this issue Jun 22, 2015 · 5 comments

Comments

@arena
Copy link
Collaborator

arena commented Jun 22, 2015

We need to move all strings to language specific yml files.

Currently, there is a lot of text in each view file. This is started on the "generalization" branch.

@arena
Copy link
Collaborator Author

arena commented Jun 23, 2015

moved the text out of the home.html.haml file and into en.yml

...had to make one compromise because I couldn't figure out where the city_residents variable was (couldn't find it in the schema).

This paragraph:
Actual emergencies look more like people coming together than cities falling apart. CITY72 is about prompting members of the community to get connected before an emergency—so we can be that much better off when something happens.

"members of the community" should really be "city_residents" (e.g. Oaklanders)

@arena
Copy link
Collaborator Author

arena commented Jun 23, 2015

As part of this exercise, I'm going to remove all of the non-editable "city" references that are a barrier to counties and other non-city communities.

@arena
Copy link
Collaborator Author

arena commented Jun 24, 2015

This is the list of languages to focus on:
English (en)
Español (es)
Vietnamese (vi)
Tagolog (tl)
Chinese (zh)

@arena
Copy link
Collaborator Author

arena commented Jun 24, 2015

The city name, set via the CMS, is sometimes different depending on the language.
image
(e.g. The Chinese version of Oakland)

@arena
Copy link
Collaborator Author

arena commented Dec 9, 2016

This is completed on safeGNV (a fork or OAK72, which is a fork of City72). I didn't send a pull request back to City72 because the localization basically kills the Content Management System. Even thought it isn't very flexible, I think some people may be attached to the idea of the CMS. For what it's worth, everybody that I know that has launched a City72 has had to make changes outside of the CMS (e.g. City --> County)

What do you think, is it ok to get rid of most of the CMS in order to have multiple languages?

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

No branches or pull requests

1 participant