arches icon indicating copy to clipboard operation
arches copied to clipboard

Arches V7 Internationalization: Need multilingual names for the file-list datatype

Open ekansa opened this issue 2 years ago • 0 comments

I'm using the Postgres SQL based views to do an ETL process to import a multilingual (Arabic, Hebrew, English) dataset into an Arches v7 instance. It seems like the JSON in use for the file-list datatype does not allow different languages (keyed by codes like ar, he, en) for the name (of the file) attribute.

The structure for the JSON needs to get updated so that name can be provided for different languages. In fact, it maybe good to indicate a language code for the entire file in cases where different translations of a file may be available (say different PDF documents that are translations of each other).

Example that lacks internationalization:

[
    {
        "accepted": true,
        "file_id": "6304033b-2f42-4bfd-86a5-5e2a941d95f1",
        "name": "BuildingPicture.jpg",
        "renderer": "5e05aa2e-5db0-4922-8938-b4d2b7919733",
        "status": "uploaded",
        "type": "image/jpeg",
        "url": "/files/6304033b-2f42-4bfd-86a5-5e2a941d95f1"
    }
]

ekansa avatar Sep 27 '22 17:09 ekansa