In the above, we specify that the application is targeted to German users and the translated messages are located under the directory aliased as `application.messages`. In a default setting, the path alias would refer to the directory `protected/messages`.
Next, we need to provide our translations. Under the directory `protected/messages`, create a subdirectory named `de` which corresponds to the target language we set in the application configuration. And under the `de` directory, create a new file named `yii.php`. To this end, we should have the following directory structure: