diff --git a/developer_manual/core/translation.rst b/developer_manual/core/translation.rst
index eaa4657c9..5520b39ce 100644
--- a/developer_manual/core/translation.rst
+++ b/developer_manual/core/translation.rst
@@ -4,9 +4,9 @@ Translation
Make text translatable
----------------------
-In HTML or PHP wrap it like this t('This is some text');?>
-For the right date format use l('date', time());?>. Change the way dates are shown by editing /core/l10n/l10n-[lang].php
-To translate text in javascript use: t('appname','text to translate');
+In HTML or PHP wrap it like this ``t('This is some text'));?>`` or this ``t('This is some text'));?>``
+For the right date format use ``l('date', time()));?>``. Change the way dates are shown by editing /core/l10n/l10n-[lang].php
+To translate text in javascript use: ``t('appname','text to translate');``
You shall never split sentences!
--------------------------------
@@ -21,7 +21,7 @@ Example:
.. code-block:: php
- t('Select file from') . ' '; ?>t('local filesystem');?>t(' or '); ?>t('cloud');?>
+ t('Select file from')) . ' '; ?>t('local filesystem'));?>t(' or ')); ?>t('cloud'));?>
Translators will translate:
~~~~~~~~~~~~~~~~~~~~~~~~~~~