okfn / timemapper

Create and share elegant timelines and timemaps fast
http://timemapper.okfnlabs.org/
MIT License
273 stars 60 forks source link

i18n support #143

Open hychen opened 10 years ago

hychen commented 10 years ago

I am working on add i18n support of TimeMap by using i18n-abide and met a problem that jsgettext can not parse views/account/list.html correctly.

this issue is gone after I use for tag instead of each tag and each tag seems not be listed in the nunjunks template document. is that valid tag?

here is the development branch

rufuspollock commented 10 years ago

@hychen hmm that template shouldn't even really be there any more (leftover from previous version when we used mustache). You can either delete or make the conversion of each to for :-)

Thanks for spotting and keep the patches coming :-)

rufuspollock commented 9 years ago

@hychen what's remaining to get this in? Would love to get this merged.

hychen commented 9 years ago

the remaining is localization support the source fields in google spreadsheet.

rufuspollock commented 9 years ago

@hychen reading #97 I think there are 2 things there:

The latter seems like something pretty simple that should come from template i18n

Additionally we also need to do some work to be able to switch between available languages for the site.