Hi Marlene,
Can you post a copy of any errors you're seeing, either directly from the
search page, or from the console.
Cheers,
Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Wed, Jun 5, 2019 at 6:18 AM Marlene Gilles <[email protected]>
wrote:

> Hello,
>
> I would like to change the language of the application (v4.4.1) by first
> setting it manually (without using LocaleMiddleware even if it is my
> ultimate goal).
>
> I have modified the settings_local.py file:
> LANGUAGE_CODE='fr-FR''.
> LOCALE_PATH=('path_to_my_locale_folder',)
>
> I created the "locale" folder and I ran:
> django-admin.py makemessages ...
> I added the translations and then run:
> django-admin.py compilemessages
>
> I can see the change on the home page but when I click on the equivalent
> of "search", the page fails to load. This only works when I select the
> language in-** (with translation or not add in en/LC_MESSAGES/django.po).
> Even a copy and paste of the folder by just changing its name to fr instead
> of en is not working. I need an access to several languages therefore I
> cannot add my translation directely in the en/LC_MESSAGES/django.po file.
> I obtain an error saying that /nifty.js and /views/search.js are not found.
>
> I probably forgot a step, can someone enlighten me? I found an old post
> from 2016 but I'm not sure it's up to date and the documentation is no
> longer accessible.
>
> Regards,
> Marlene
>
> --
> -- To post, send email to [email protected]. To unsubscribe,
> send email to [email protected]. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/6d197fec-9e56-4c7a-b77a-0821cfd8ad85%40googlegroups.com
> <https://groups.google.com/d/msgid/archesproject/6d197fec-9e56-4c7a-b77a-0821cfd8ad85%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CA%2BZLqy_esawA0y3%2Bh%2BhzwbqUk6dahn_r%2BkheXeeK%2BcthfOurGw%40mail.gmail.com.

Reply via email to