Translations
==========================
As you should know, some keys of desktop entries can be translated. desktop entry-lib provides the :class:`~desktop_entry_lib.__init__.TranslatableKey` class to support this.

TranslatableKey class has 2 attributes:

- :attr:`~desktop_entry_lib.__init__.TranslatableKey.default_text`: This is a string which contains the non translated text.
- :attr:`~desktop_entry_lib.__init__.TranslatableKey.translations`: This is a dict, which has the language as key and the text as value

Take for example this part of a desktop entry:

.. code:: ini

    Name=MyApp
    Name[de]=MyAppGerman
    Name[fr]=MyAppFrench

If you load this, with desktop-entry-lib, the :code:`default_text` attribute would be :code:`MyApp` and the :code:`translations` dict would have the 2 keys :code:`de` and :code:`fr` with the corresponding value.
