Dictionary files are in an XML format and provide a lookup based on the text from the template that is passed into the __() helper. Each translation contains its own dictionary file that resides in the apps/frontend/i18n/{culture}
folder and is named accordingly. For example, the translation dictionary file for fr_FR
would reside in apps/frontend/i18n/fr/messages.xml
and would look like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN"
"http://www.oasis-open.org/committees/
xliff/documents/xliff.dtd">
<xliff version="1.0">
<file source-language="EN" target-language="fr"
datatype="plaintext" original="messages"
date="2009-05-18T20:59:37Z" product-name="messages">
<header/>
<body>
<trans-unit id="1">
<source>For further information please contact H.R at our main branch.</source>
<target>Veuillez pour de plus amples informations entrent en
contact avec H.R...