This commit is contained in:
Artur Barseghyan 2018-02-19 21:01:20 +01:00
parent e42e0d8d7e
commit 45efa80cf8
2 changed files with 5 additions and 6 deletions

View file

@ -2199,10 +2199,10 @@ be done very easily by introducing of a custom locale path in your project.
See the following as a good example of overriding some English labels.
`custom settings
<https://raw.githubusercontent.com/barseghyanartur/django-fobi/master/examples/simple/settings/alternative_labels.py>`__
`custom locales directory
<https://github.com/barseghyanartur/django-fobi/tree/master/examples/simple/fobi_locale/>`__
- `custom settings
<https://raw.githubusercontent.com/barseghyanartur/django-fobi/master/examples/simple/settings/alternative_labels.py>`__
- `custom locales directory
<https://github.com/barseghyanartur/django-fobi/tree/master/examples/simple/fobi_locale/>`__
Run the example project as follows:

View file

@ -3,6 +3,5 @@ from .base import *
LOCALE_PATHS = [
os.path.abspath(os.path.join(BASE_DIR, 'fobi_locale')),
# os.path.abspath(os.path.join(BASE_DIR, 'locale')),
os.path.abspath(os.path.join(BASE_DIR, 'locale')),
]
# import ipdb; ipdb.set_trace()