Multi-lingual Support

Multi-lingual Support

The component Phalcon\Translate aids in creating multilingual applications. Applications using this component, display content in different languages, based on the user’s chosen language supported by the application.

Adapters

This component makes use of adapters to read translation messages from different sources in a unified way.

Adapter Description
NativeArray Uses PHP arrays to store the messages. This is the best option in terms of performance.

Component Usage

Translation strings are stored i