js_data
js_data copied to clipboard
Add Spanish translation
trafficstars
translation branch provides basic support: https://github.com/vlandham/js_data/tree/translation/
General idea is this:
- converted all source from docco to straight markdown
- every language / locale gets its own sub directory in locales: https://github.com/vlandham/js_data/tree/translation/locales
- each page is re-implemented for each language
- code snippets are kept the same from translation to translation in snippets: https://github.com/vlandham/js_data/tree/translation/snippets
- they are added back into the translated markdown using a post processing step that looks for
@@. Example:
@@ code=index/index.01.js @@
- grunt is used to build
- template is used to keep banner and footer the same. We might need to do some basic string translations for these static parts. https://github.com/vlandham/js_data/blob/translation/assets/custom.jst
capabilities now merged into master. will keep this open until translations are in repo.