polifonia-project / clef

Light-weight Linked Open Data native cataloguing and crowdsourcing platform
ISC License
18 stars 2 forks source link

Handling Multiple language tags in strings #13

Open Sebastiano-G opened 7 months ago

Sebastiano-G commented 7 months ago

It would be nice to have the possibility to recognise multiple language tags for strings both in the back and front end. Currently additional strings w/ language tags can be added to a triple via Blazegraph however the system doesn’t do anything with them. In the back end there should be the possibility to specify the language of a string input (Text box > free text, Text Area, Dropdown/Checbox labels) as well as add additional ones. This should be available in the record creation form (rather than the template creation form). For example if a template’s field matches text box > free text, the record creation form should display an additional option to specify the language of the input as well as the option to add more languages, in which case more fields will be required. Alternatively the language strings could be specified in the text input directly, with the @+letters+comma combination used to separate them in the graph (e.g. my string@en, mia string@it, etc…), as this combination is unlikely to occur naturally (?).