ach api behind the scenes blesta blesta 3.0 blesta integration CAPTCHA design developer commentary documentation encryption fraud import import documentation importing language maxmind minphp partnership plugin plugins security short tags standards support SVG TOTP translator v3 version 3
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blesta 3.0: Smarter i18n by Cody | Developer Corner | 2011
i18n, or internationalization, is the process of adapting software to be deployed around the world. Since version 1.0 we’ve dedicated a large portion of our time to making Blesta an international product. And in version 3 we’ve gone even further by enhancing our multi-language support.
To start, you’ll notice language definitions are now diffused across multiple files. This serves two purposes. First, it promotes congruency between objects and their associated language (each Controller and Model has its own language file). Secondly, it allows us to load only content that is relative to the resource being requested. This saves memory, speeds up load times, and makes development much easier.
Syntax support has also been greatly improved. Previous versions supported tag replacement, but many phrases and sentences were graphed or concatenated together. This meant that some translations were left with incorrect syntax or awkward phrasing. We were able to do away with that thanks to minPHP’s Language support.
Here’s an example, flashing a success message after having saved a staff group:
Here’s the related language definition:
And the visual result:
In addition, version 3 offers automatic fall-back language support in the case of missing definitions.
And finally, we’re introducing translation support for modules, gateways, plugins, and widgets. Everything is translatable. Let’s see how long it takes the competition to catch on.
Tags: blesta 3.0 | i18n | internationalization | minphp | version 3
No Comments