Hello Marlene, 

Hopefully, someone in the group has experience with this or familiar with 
the issue.  If you already found a solution, can you please let us know by 
updating the post?  Thank you!

Cheers,

Alina
The Arches Project Team


On Wednesday, June 5, 2019 at 6:18:46 AM UTC-7, Marlene Gilles 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/dfb2144c-2990-4fe0-ad6b-6b0613850e7f%40googlegroups.com.

Reply via email to