Hi Vencislav, apologies for the delay in responding to your query.

I am no CIDOC CRM expert, so I'm not sure if I can help you there, but I 
think that using the resource-instance datatype would be a helpful. This is 
a new datatype that was introduced in v4.1 which allows you to "embed" one 
resource instance within another. In other words, a node in your resource 
model's graph would have a datatype of "resource-instance" and it would 
store a connection to another resource. Much like a resource-to-resource 
relationship, but more structured.

You will have to upgrade to 4.1 for this datatype, so please see the 
instructions detailed here: 
https://github.com/archesproject/arches/blob/master/docs/releases/4.1.0.md

As for your question about translating, this is a great question, as I do 
not know of any translations of Arches v4 yet. The first thing you would do 
is follow a guide like this 
https://medium.com/@nolanphillips/a-short-intro-to-translating-your-site-with-django-1-8-343ea839c89b
 
for adding a new language to your Django project. This process will take 
any demarcated strings from your templates (those that have the {% trans %} 
tag around them, for example) and compile them to a single file in which 
you can make translations for each string.

However, as you may know, much text you see in the Arches UI, in the 
Reports for example comes straight from the database, not from templates, 
so the above process would not translate that data. Note that in fact there 
are two broad categories of data that come from the database: *resource 
data*, strings, concepts, etc. and *UI data*, which is the structure and 
header titles of all the Cards, Report sections, graph Nodes, etc.

For the resource data, translation depends on the data type of the node. 
There is no good way that I am aware of to translate strings, for example, 
descriptions of resources. To accomplish this for the Egyptian 
Archaeological Database, we made two separate nodes for site description, 
called Description and Arabic Description, and modified the report template 
to alternately show one or the other 
https://github.com/mradamcox/ead/blob/master/ead/templates/views/reports/sections/DESCRIPTION.E62.htm#L5.
 
However, that is an example with version 3 of Arches, and I'm not sure how 
you would make such a Report customization in version 4. As for concepts, 
these should be translated automatically, if you have properly added 
Bulgarian prefLabels to your concepts, I believe they will be shown 
automatically.

The more tricky part is the Report labels, Card titles, etc. Practically 
everything in the UI that has to do with database structure also comes 
straight from the postgres database, not from templates, so I am not sure 
how that can be translated. Hopefully others have some ideas.

Cheers,
Adam

On Tuesday, March 6, 2018 at 12:24:48 PM UTC-6, Vencislav Pirinski wrote:
>
> Hello,
> My name is Ventsislav Pirinski and I am from the Bulgarian Academy of 
> Sciences.
> We would like to integrate Arches in bulgarian museums and we are working 
> in close collaboration with some museums and heritage institutions. We want 
> to show the capabilities of Arches with a sample project. We have working 
> implementation of Arches 4.0. 
> The project is about type of tombs, dolmens. We have created Resource 
> model called "Dolmens" and modified it to suit our needs, but we want to 
> relate it to a more general model.
> Something like this "Heritage resource model" -> "Archaeological site 
> model" -> "Tombs model" -> "Dolmens model".
> We want to use a standard like CRM CIDOC for this relation. 
> Can this be done natively in Arches?
>
> Also we want to have partial translation in Bulgarian for the reports. We 
> know that the sections can not be translated, we are concerned only about 
> the translation of the data. What advice would you give me for the 
> implementation?
>
> Best regards,
> Vencislav Pirinski
>

-- 
-- 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to