js_data icon indicating copy to clipboard operation
js_data copied to clipboard

Add Spanish translation

Open iros opened this issue 10 years ago • 2 comments
trafficstars

iros avatar Mar 17 '15 15:03 iros

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

vlandham avatar Mar 17 '15 23:03 vlandham

capabilities now merged into master. will keep this open until translations are in repo.

vlandham avatar Mar 18 '15 18:03 vlandham