Exist: Unable to localize app title

Created on 1 Mar 2017  路  8Comments  路  Source: eXist-db/exist

From http://markmail.org/message/z5krv2giftjkoon6

eXist-db has an i18n demo, and its techniques can be used for an app itself, but I'm left wondering how to, say, get an app title in Japanese in the dashboard of a Japanese user.

The EXPath Packaging System spec (http://expath.org/spec/pkg) allows only one <title>, and that <title> can contain only a string, so there doesn't appear to be a way to, e.g., have either multiple <title> or multiple things inside one <title> and select between them based on xml:lang value.

(Using 'eXist version 3.0 (develop-acd0c14)' on CentOS 7.)

triage

All 8 comments

I've posed the question to the expath list: https://groups.google.com/forum/#!topic/expath/QuckMx6x7Xw.

This issue was moved by duncdrum to eXist-db/existdb-dashboard#12.

@duncdrum would you elaborate why this issue was moved to
https://github.com/eXist-db/existdb-dashboard/issues/12 ?
The dashboard has no defined way of extracting that information at this point.
existdb packages need to be able to provide localised application titles, first.

but I'm left wondering how to, say,get an app title in Japanese in the dashboard of a Japanese user.

This is a feature request about dashboard, hence it should be in the dashboard repo

Yes, once there is a defined way of storing language specific application titles of a package the dashboard feature can be implemented.

Dashboard is only a manifestation of the underlying problem. Any application that reads the package <title> would reveal the same thing - e.g., public-repo.

A comprehensive solution would first require updates, in the following order, to (1) the EXPath Package spec to support localization and then (2) eXist's EXPath package implementation.

Then apps that read package info would have a localized string to display.

So really this properly would be classified as a feature request to the EXPath Package spec.

The OP directed his request at the Dashboard, if the maintainer of the Dashboard wants to move it elsewhere that is his/her call. As it stands its not and eXist-db/exist core request or feature.

Feel free to open an issue in expath package outlining what would be needed for the dashboard to be localized.
I don't think that the route by @joewiz while sensible, is the only one means of achieving this goal

This issue was closed, please continue discussion in eXist-db/existdb-dashboard#12 thx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

opax picture opax  路  3Comments

mathias-goebel picture mathias-goebel  路  4Comments

dizzzz picture dizzzz  路  5Comments

Bpolitycki picture Bpolitycki  路  4Comments

ahenket picture ahenket  路  4Comments