Added: 2 years ago
From: integral30
Views: 4,429
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Great job .... :)

  • Excelent tutorial.  In the function $this->translate->_('Book'); how I can tranlate in Zend_Form in labels?. I need to change something in bootstrap?. Tnks

  • $form->setTranslator($translat­eInstance);

    setTranslator method is also available for individual elements if needed.

  • Nice idea, it seems zend_translate is a lot more powerfull than I thought it'd be. I'm simply using a template engine (smarty) to have code and design separated. All my dynamic text is in a mysql database and prefixed text is in a xml file. Depending on what the user has set as his default language, it queries different mysql tables and loads the specific xml files.

    Love your tutorials! Watched every single one of them and it helps me a lot! Thanks Alex, keep up the awesome work.

  • Thats an interesting way of doing it and gives me an idea: I wonder if anyone out there created a full adapter that looks up and stores translations in a DB. I doubt there is anything like it ATM since storing translations in a DB don't seem standard or cross-platform but something one could invest writing an adapter for. Or perhaps this could be a way for a different translation system where translators do not have get to know a translation program, like poedit, but use a web interface.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more