[Arches] How to change the application language?

2019-06-05 Thread Marlene Gilles
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 archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/6d197fec-9e56-4c7a-b77a-0821cfd8ad85%40googlegroups.com.


Re: [Arches] arches 4.4.1: problem loading pages

2019-05-16 Thread Marlene Gilles
Hi Adam,

Thanks for your help.
I did some basic tests with yarn and it seemed to work normally. However, 
numeral.js could not be found. So I installed it with "npm install numeral" 
and then pasted the Numeral folder into my static folder. I'm not sure it's 
the cleanest solution, but it works so far.

Marlene

Le mercredi 15 mai 2019 22:01:00 UTC+2, Adam Cox a écrit :
>
> Hi Marlene,
>
> It doesn't seem to be an Elasticsearch issue; first reason being that 
> there is no difference in what ES version Arches needs between 4.3 and 
> 4.4.1 (in 4.5 there will be an upgrade though), second reason being the 
> messages in the devserver log you sent don't say anything related to ES 
> (usually is a "connection refused"-type of message).
>
> The only thing I really see is that last 404 response on the numeral.js 
> file. Can you confirm that yarn has run since the upgrade, and that there 
> weren't any errors? It seems like maybe that javascript library was not 
> installed properly.
>
> Adam
>
>
>
> On Wed, May 15, 2019 at 9:44 AM Marlene Gilles  > wrote:
>
>> Hello,
>>
>> For several months I have had the opportunity to install arches a good 
>> dozen times to test and create forms from in-house ontologies. 
>> I recently tried to install arches 4.4.1. Everything is set up as usual 
>> (I think) but I can no longer access the settings pages or create new forms 
>> (I can access the design page): the pages seem to want to load but do not 
>> end. I don't get an error message. I get the same result via django or 
>> apache.
>> I'm working on a ubuntu 16.04 virtual machine (announcement of new 
>> version said 16.04 or 18.04). To be sure of my installation procedure, I 
>> re-installed the previous version of arches on the same machine and it 
>> works very well.
>>
>> Is this due to the new version of Elasticsearch? Do you have any idea how 
>> I can solve this problem?
>> I enclose text files containing the messages obtained when trying to 
>> create a new resource model with both arches 4.3 and 4.4.1 if it can help.
>>
>> Many thanks for your help.
>> Marlène
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@googlegroups.com . 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 arches...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/archesproject/75d42760-4613-4c66-b796-2ee5e9d4377f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/archesproject/75d42760-4613-4c66-b796-2ee5e9d4377f%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/27b6f1b0-b706-44d9-b017-4f5e3072d6c0%40googlegroups.com.


[Arches] Re: How to start QA in arches 4.3.1?

2018-12-12 Thread Marlene Gilles
Hi Dennis,
Thank you for your answer. I tried again and found the "My Edit History" 
panel. But my first concern was about how to accept or decline a 
Provisional resource edit: for the moment the only way I found is to be a 
Reviewer + Editor and edit again the resource. If it is something 
automatic, then something is probably missing or ill configured in my 
installation.

[image: pb.png]
I do not see what I marked in red in the image (from the doc).
Marlene

Le mardi 11 décembre 2018 18:09:01 UTC+1, Dennis Wuthrich a écrit :
>
> Hi Marlene,
>
> Arches automatically starts the QA process based on user permissions.  The 
> QA process is automatically started when a user who is NOT a member of the 
> "Resource Reviewer" makes an edit.  To confirm this, log on with an account 
> that has edit privileges for a model, but does not belong to the Resource 
> Reviewer group.  Edit an existing resource instance (or create a new 
> instance) and you'll see that edits are marked as provisional.
>
> Note that you can define groups with edit capabilities in the 
> settings_local.py file.
>
> Cheers,
>
> Dennis
>
> On Tuesday, December 11, 2018 at 7:48:51 AM UTC-8, Marlene Gilles wrote:
>>
>> [image: provisional_edit_review.png]
>> Hello,
>>
>> I am trying to install and configure arches with no previous knowledge in 
>> database, web design, server... I installed arches 2 months ago and step by 
>> step I am finally close to have arches usable by the team.
>> A remaining question is about the review of provisional edits. I don't 
>> find were to start QA. 
>> I had a look at the demo v4 and found it easily in the edit form. 
>> Therefore I looked deeper in the source code of my arches edit page and 
>> found that the ep-edit-panel was not display. Since I did not found where 
>> to click to display it, I did it manually by setting style="display: true;" 
>> and changing panels ratio.
>>
>> Now, My Edit History panel displays but it seems that no item are found 
>> with provisionalHistoryList, whereas I have recent edits (provisional and 
>> not) as it is written in the pink zone (see image). 
>>
>> Am I in the good direction? Is start QA behind this? How can I see the 
>> edit history? 
>> Is my problem from my arches installation, a misuse of arches, a missing 
>> or wrong link, or any other configuration problem of my arches?
>>
>> Marlene
>>
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Arches] How to start QA in arches 4.3.1?

2018-12-11 Thread Marlene Gilles


[image: provisional_edit_review.png]
Hello,

I am trying to install and configure arches with no previous knowledge in 
database, web design, server... I installed arches 2 months ago and step by 
step I am finally close to have arches usable by the team.
A remaining question is about the review of provisional edits. I don't find 
were to start QA. 
I had a look at the demo v4 and found it easily in the edit form. Therefore 
I looked deeper in the source code of my arches edit page and found that 
the ep-edit-panel was not display. Since I did not found where to click to 
display it, I did it manually by setting style="display: true;" and 
changing panels ratio.

Now, My Edit History panel displays but it seems that no item are found 
with provisionalHistoryList, whereas I have recent edits (provisional and 
not) as it is written in the pink zone (see image). 

Am I in the good direction? Is start QA behind this? How can I see the edit 
history? 
Is my problem from my arches installation, a misuse of arches, a missing or 
wrong link, or any other configuration problem of my arches?

Marlene

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.