Giter Site home page Giter Site logo

sweepai-dev / mirrorful Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magicpatterns/catalog

0.0 0.0 0.0 50.51 MB

Create the building blocks of your app

Home Page: https://mirrorful.com

License: Other

Shell 0.02% JavaScript 4.50% TypeScript 93.14% CSS 2.20% HTML 0.14% Procfile 0.01%

mirrorful's People

Contributors

adefizzy avatar agupta0001 avatar alexdanilowicz avatar architectdrivenkenny avatar arneesh avatar asjadaugust avatar betty-alagwu avatar bismay5467 avatar danielrees8743 avatar dsinghvi avatar gnwx avatar handotdev avatar joelcmk avatar joshuarotimi avatar karanvirsb avatar kunalznk avatar lagneshthakur avatar mbmarsell avatar nagy-nabil avatar noobcode-69 avatar nyeno avatar pranav2612000 avatar prichter avatar saganic avatar sonylomo avatar sugamadhiakri avatar teddarific avatar tobiasdossinger avatar tvergho avatar zachsnoek avatar

mirrorful's Issues

Sweep: Internationalization of Mirrorful Editor Dashboard with i18n

Adding i18n to the Mirrorful Editor

Next.js has built-in support for internationalized (i18n) routing since v10.0.0. You can provide a list of locales, the default locale, and domain-specific locales and Next.js will automatically handle the routing.

The i18n routing support is currently meant to complement existing i18n library solutions like react-intl, react-i18next, lingui, rosetta, next-intl, next-translate, next-multilingual, typesafe-i18n, tolgee, and others by streamlining the routes and locale parsing.

Getting started
To get started, add the i18n config to your next.config.js file.

Locales are UTS Locale Identifiers, a standardized format for defining locales.

Generally a Locale Identifier is made up of a language, region, and script separated by a dash: language-region-script. The region and script are optional. An example:

en-US - English as spoken in the United States
nl-NL - Dutch as spoken in the Netherlands
nl - Dutch, no specific region
If user locale is nl-BE and it is not listed in your configuration, they will be redirected to nl if available, or to the default locale otherwise. If you don't plan to support all regions of a country, it is therefore a good practice to include country locales that will act as fallbacks.

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.