-
Notifications
You must be signed in to change notification settings - Fork 22
Localization
The following sections describe steps that need to be taken in order to provide the repository in a different language. Basically the changes that were done in #459 and 0e1454 minus the work in *.java and *.xsl files which internationalized missed strings.
To jump start the translations it's worth checking whether upstream dspace was translated into the target language. See dspace-xmlui-lang project and/or DSpace I18n support page.
Start witch setting supported.locales in local.properties, eg. supported.locales = en, cs.
Most of the UI strings are located in messages.xml file, you'll need to provide your own translation of this file, name it messages_LOC.xml where LOC is the supported locale you've added in the previous step. You can start by copying messages.template into dspace/modules/xmlui/src/main/webapp/i18n
The rest of the UI strings are in javascript files, currently each of the files carries its dictionary. Search for i18n.load and provide your own translation either replace the old ones or add a new i18n.load("LOC"... call the files can be overlaid.
./dspace-xmlui/src/main/webapp/themes/UFAL/lib/js/dragndrop.js
./dspace-xmlui/src/main/webapp/themes/UFAL/lib/js/fileupload.js
./dspace-xmlui/src/main/webapp/themes/UFAL/lib/bootstrap/js/ufal.min.js
If you have changed input-forms.xml you'll need to add message keys into them and put the values into messages.xml and messages_LOC.xml. If there are many changes you might try using this gist that will replace the values in input-forms file you supply and writes a "messages" file, you can then paste the result into your messages.
statickych strankach e.g., deposit (edited)
kde su napr. vlajocky
vlajecky jsou momentalne zadratovany v lindat-common https://github.com/ufal/lindat-dspace/pull/459/files#diff-5ef3950b78d9022fd7a023e84d598a62R432, ale vlajecky jsou to nejmensi.
ako aktualne pouzivame deposition license
[2:11] kde je schovana?
[2:11] a co alternative_..
https://github.com/ufal/lindat-dspace/pull/491 licence je popsana tady, odkud se bere alternativni je nastavitelny, muze to byt v gitignore. a jinak messages a podobny by klidne mohli udelat pr a muze to byt v lindat branch
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning