From 8aa90e1bb710c2a960ae971faa9c6b45b2abdc40 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 3 Dec 2019 11:28:19 +0200 Subject: [PATCH] Minor fixes --- docs/developer_guide.rst | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst index a8391afb996a..1e74b8657c85 100644 --- a/docs/developer_guide.rst +++ b/docs/developer_guide.rst @@ -18,27 +18,6 @@ We use Gulp to concatenate the JavasScript and CSS files. You can download the s Most of the system tables are cached (ie, currencies, languages, etc). If you make any changes you need to run ``php artisan db:seed --class=UpdateSeeder`` and then load any page with ?clear_cache=true added at the end of the URL. -Custom Localization -""""""""""""""""""" - -Invoice Ninja has many translations built-in. Many of them are contributed by users via `Transifex `_. But not every translation can be sent upstream. -It is possible to selectively override text strings as required. Any text that is not overridden is taken from the default locale file. - -By default the locale override folder ``storage/lang`` does not exist. You have to create it when you want to use this feature. The layout of this folder is the same as the main translation folder, which is located at ``resources/lang``. - -**Example** - -To override the string *Organization* from the English translation you need to override the locale file ``texts.php``. - -Create both ``lang`` and ``lang/en`` folders inside of your installations storage folder, then create the file ``texts.php`` in that last folder with the following contents; - -.. code-block:: php - - 'Company', - ]; - Database """"""""