mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-27 05:23:59 +00:00
more
This commit is contained in:
parent
e42e0d8d7e
commit
45efa80cf8
2 changed files with 5 additions and 6 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue