EPrints Technical Mailing List Archive
Message: #07760
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Translations and xpages
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Translations and xpages
- From: Dennis Müller <dennis.mueller@bib.uni-mannheim.de>
- Date: Tue, 2 Apr 2019 13:26:40 +0200
Hi everyone,is there a sepcific reason why every language gets to have its own xpage files with hardcoded text instead of having one central file containing phrase references which could then be placed in the respective lang directory?
Example: Currently we're having - eprints3/archives/archivename/cfg/lang/en/static/help.xpage - eprints3/archives/archivename/cfg/lang/de/static/help.xpage - eprints3/archives/archivename/cfg/lang/anyotherlang/static/help.xpagethat all provide structure and translation for the help page. If we were to redesign the help page, we would have to change all the above files accordingly.
So instead, couldn't we have only one file at eprints3/archives/archivename/cfg/static/help.xpage that provides the structure and contains phrase refs (instead of "hard" text) that would be provided from
- eprints3/archives/archivename/cfg/lang/en/phrases/help.xml - eprints3/archives/archivename/cfg/lang/de/phrases/help.xml - eprints3/archives/archivename/cfg/lang/anyotherlang/phrases/help.xml?This way, structural changes would apply to all languages at once, improving maintainability. The same goes for all plugins providing some sort of static pages.
Any thoughts on this? Best regards Dennis -- Dennis Müller Universitätsbibliothek Mannheim Digitale Bibliotheksdienste Schloss Schneckenhof West 68131 Mannheim Tel.: 0621 / 181-3023 E-Mail: dennis.mueller@bib.uni-mannheim.de
- Follow-Ups:
- [EP-tech] Translations and xpages
- From: Dennis Müller <dennis.mueller@bib.uni-mannheim.de>
- [EP-tech] Translations and xpages
- References:
- [EP-tech] Translations and xpages
- From: Dennis Müller <dennis.mueller@bib.uni-mannheim.de>
- [EP-tech] Translations and xpages
- Prev by Date: Re: [EP-tech] Sysadmin Best Practices
- Next by Date: [EP-tech] Eprints IRStats2 and Google Maps API keys
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):