Giter Club home page Giter Club logo

Comments (7)

pheinrichs avatar pheinrichs commented on August 22, 2024 1

This will be great, i'm adding multi language implementation right now, once i'm finished I will be open sourcing this project.

from mylibrenms.

sergiolps avatar sergiolps commented on August 22, 2024

Great

Please open that I would like to reply with the translation.

Thank you very much!

from mylibrenms.

laf avatar laf commented on August 22, 2024

It's been released (thank you so much @pheinrichs :)).

@sergiolps https://github.com/pheinrichs/myLibreNMS/tree/master/src/assets/i18n Looking forward to seeing your PR :)

from mylibrenms.

telskamp avatar telskamp commented on August 22, 2024

I made a pull request for my dutch translation file, I did notice however that the language -tags used do not include the country/region code (for example en-US instead of just "en" ) I think it would be best to start off using those right from the start because languages can differ a lot depending on country, for example en-UK is really different from en-US while both are considered "English"

from mylibrenms.

laf avatar laf commented on August 22, 2024

So the code for language support takes the value before the - currently. I expect that's to simplify things as -UK and -US for the most part here will be the same.

Something like: ngx-translate/core#393 maybe. Try and use a more specific and if not fall back to the X- part?

from mylibrenms.

pheinrichs avatar pheinrichs commented on August 22, 2024

If ever we get another translation for multiple region codes I think we can remove the logic at that time. They'll both require an update anyway so it's not that big of an caveat.

from mylibrenms.

sergiolps avatar sergiolps commented on August 22, 2024

from mylibrenms.

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.