Giter Site home page Giter Site logo

Comments (6)

stefankeidel avatar stefankeidel commented on July 28, 2024

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.

pjotrek-b avatar pjotrek-b commented on July 28, 2024

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.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Are you generating a messages.mo file from the .po file?

from providence.

kehh avatar kehh commented on July 28, 2024

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.

stefankeidel avatar stefankeidel commented on July 28, 2024

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.

pjotrek-b avatar pjotrek-b commented on July 28, 2024

Thanks! Will check your instructions on Transifex :)

from providence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.