Comments (6)
If there is no preferred label in the current locale (de_DE in your case) it falls back to whatever is available, in no particular order.
You could define the fallback order in global.conf. There should be a line like this
locale_defaults = [__CA_DEFAULT_LOCALE__]
__CA_DEFAULT_LOCALE__
is from setup.php. You can change that to whatever order you prefer, e.g.
locale_defaults = [de_DE, en_US, fr_FR]
You could also add a German translation for these profiles, obviously.
from providence.
Thanks for the tip!
It seems to have no effect when I edit "app/locale/de_DE/messages.po" or "app/profile/{dublincore.xml, base.xml}"
How can I force the web-UI to update/refresh its language strings?
from providence.
Are you generating a messages.mo file from the .po file?
from providence.
Also you have to run the installation again after editing the profile file.
Another way around it is to delete the labels from the database that don't
relate to one of the locales that you are using. But that can be messy and
I don't recommend it.
On Fri, 12 Dec 2014 9:32 pm CollectiveAccess [email protected]
wrote:
Are you generating a messages.mo file from the .po file?
—
Reply to this email directly or view it on GitHub
#180 (comment)
.
from providence.
I just answered your question on Transifex in German. It includes a description of the process (generating the *.mo and flushing the cache).
Editing the profile doesn't have any effect until you reinstall the system with that profile. These files are just for the initial setup.
from providence.
Thanks! Will check your instructions on Transifex :)
from providence.
Related Issues (20)
- Access field on nonpreferred_labels defaulting to top of list, not default HOT 1
- Invalid task queue handler causes infinite loop HOT 3
- Loan <> Entity `borrower` Label Confusion in Base Profile
- Possibility of bug on 1.8 $vs_template_path in app/helpers/printHelper.php HOT 1
- Sorting options for metadata in Object editor UI HOT 3
- Allow for indexing all fields of related records in "self relationships"
- Re-Processing Media Sometimes Leaves Old Previews HOT 3
- Off-by-One Errors in Gmagick.php
- Don't Close Files That Aren't Open
- Allow ca_object_representations_access_status for other tables
- Email check log going to CA root dir HOT 1
- required field marker not showing on idno
- Import bug introduced HOT 10
- Requirements Page offline
- Very Slow Page Load When WAN is Down
- Interstitial editor not re-populating the relationship type dropdown in main UI after editing HOT 2
- Search has error on idno with leading zeroes - bug? HOT 1
- Warning: Undefined variable on standard editor (php8 branch) HOT 1
- Media import matching to idno where identifier starts with value HOT 1
- Undefined array key warnings HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from providence.