1

i am using the http://i18next.com/ to translate a static website hosted on github gh-pages.

are there any tools that i can use to first extract from say the index.html file and create a index.po file where the translator can localize / internationalize the page and then use a tool like http://pypi.python.org/pypi/pojson to convert this po file to json to be used by i18next?

khinester
  • 3,398
  • 9
  • 45
  • 88

2 Answers2

0

POEdit will probably do the trick. In PHP, the Gettext extension (http://es.php.net/gettext) will help. Also, I found this link that will detail the process of creating a po file: http://www.wdmac.com/how-to-create-a-po-language-translation.

Dyn
  • 395
  • 3
  • 18
0

You can use po4a for creating po files from html and from many other formats.

RafaSashi
  • 16,483
  • 8
  • 84
  • 94
Michal Čihař
  • 9,799
  • 6
  • 49
  • 87