문제

I want to know if it's possible to translate a Zend Framework 1 website in a manner similar with the one implemented by WPML for Wordpress.

What I want is to make an application that can scan the website source code for translation variables, then store them in a database or a .po file.

Also please note that I am not interested in switching to another framework or using only Wordpress for my website but in a method of simple and easy translation for someone without programming skills.

도움이 되었습니까?

해결책

What you need is:

  • Zend_Translate with gettext adapter
  • Zend_Registry
  • Poedit

More info here.

다른 팁

PoEdit http://www.poedit.net/download.php

I have used this software to create .mo files for Zend_Translate gettext adapter in one of my ZF projects.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top