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