Giter Site home page Giter Site logo

cours_angular_trad's Introduction

cours_angular_trad

Utilisation de ngx-translate pour les traductions. https://github.com/ngx-translate/core La librairie est maintenu, elle supporte déjà la version 16 d'Angular.

Avantage :

  • simple de mise en place (niveau code et niveau mise en prod)
  • runtime donc pas obligué de recharger l'app pour changer de langue
  • simplicité du JSON

Inconvénient :

  • librairie externe au core d'Angular
  • uniquement au format JSON (certain outil pour la traduction ne supporte pas le JSON) il faut créer son propre loader pour supporter les autres formats

INFO

M2 IW GUAY Alexis Angular en entreprise

RUN

ng serve npm run start

Lancer l'application

TEST

ng test npm run test

J'ai juste pas réussit à trigger le changement de valeur dans le select pour tester sur le TranslateService changé bien de valeur

cours_angular_trad's People

Contributors

ag7-alexis avatar

Watchers

 avatar

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.