Hi Bojan,
The key here is going to be getting your new language added to the d_languages
table, and setting the “isdefulat” value to true, and setting the existing
en-us language set to false. That way, Arches has a way to know that it should
display labels from your language rather than english.
I understand from Alexei, however, that there may be a a bug in properly
retrieving concepts for dropdowns in languages other than English. He has built
a fix, but hasn’t tested it thoroughly enough to commit to the repo. He will
likely chime in with some further words to give you a path forward on that.
As far as importing authority documents in other languages - the key remains
the same. Arches assumes that your authority documents are in whatever you
have deemed to be the default language. Therefore, you want to make sure that
your language is added to the d_languages table and it is set as the only
default language before you import your auth docs. The way I would do that is
by modifying the db_data.sql file that runs on Arches install. Look at line 24
which is the one that populates english as the default language. I would
modify that statement with the following:
INSERT INTO d_languages VALUES (’[YL-01]', ‘[YOUR_LANGUAGE]', true);
INSERT INTO d_languages VALUES ('en-US', 'ENGLISH', false);
Best,
Adam
--
Adam Lodge
Geospatial Systems Consultant
Farallon Geographics
415.317.6625
On Monday, November 30, 2015 at 1:04 PM, Bojan Kastelic wrote:
> Hi,
> I'm working on localization of my Arches project and so far I have
> successfully implemented UI translations, but I have problems with concepts
> translations (for dropdown lists). As I understand, each concept can have
> multiple labels in different languages. I manually entered additional
> (translated) labels in RDM, but when I change the language, only static (UI)
> text changes, whereas the concept labels (in dropdown lists and report) stay
> the same (the last label for each concept).
>
> What am I doing wrong? Is this approach (using labels for translations)
> right? Do all labels have to be marked as preferred (prefLabel)? What am I
> missing?
>
> And if I can get this work, how can I import labels for different languages
> through Authority Files (there is no language field)?
>
> Regards, Bojan
> --
> -- To post, send email to [email protected]
> (mailto:[email protected]). To unsubscribe, send email to
> [email protected]
> (mailto:[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]
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/d/optout.
--
-- 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.