Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make create-config defaultFile use localeStructure #934

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

cescoallegrini
Copy link
Contributor

@cescoallegrini cescoallegrini commented Feb 4, 2021

closes #904

@isaachinman isaachinman merged commit 8b6d637 into i18next:master Feb 4, 2021
@LeonardDrs LeonardDrs mentioned this pull request Feb 22, 2021
LeonardDrs pushed a commit to LeonardDrs/next-i18next that referenced this pull request Feb 22, 2021
isaachinman pushed a commit that referenced this pull request Feb 22, 2021
isaachinman added a commit that referenced this pull request Feb 24, 2021
* Core changes to support NextJs v10

* Add default config file reading functionality

* Reimplement hoistNonReactStatics

* Update dependencies

* Strip out tests and unnecessary dependencies

* Fix linting setup

* Upgrade core dependencies

* Migrate config options to mirror NextJs

* v8.0.0-beta.0

* Remove deprecated config options and types

* Update example lockfile

* Remove need for locales and defaultLocale entirely

* Update example to use hooks

* Add documentation

* v8.0.0-beta.1

* Add NodeJs v14 to CircleCI

* Create serverSideTranslations.d.ts

* v8.0.0-beta.2

* fix: TS issues for v8-beta (#922)

* fix: export appWithTranslation type

also changed AppWithTranslation type: param is a React Component, not a React Component instance

* chore: remove unused NextI18Next exports

* fix: run-example prod script by adding the build step before it

* v8.0.0-beta.3

* fix: Remove server side code from client bundle (#926)

* Remove static dir entirely

* v8.0.0-beta.4

* feat: Add an ESM entry point to allow better bundle optimizations (#937)

* Add an ESM entry point to allow better tree-shaking & module concatenation

* Include ie11

* fix: added Trans to TS definition v8-beta (#951)

* added Trans to types

* fix: removed unused typess

* refactor: Use serialize-javascript (#954)

* refactor: Use NextJs i18n config API (#955)

* test: Add tests for config and consoleMessage (#956)

* test: Add coverage for createClient (#957)

* refactor: Update eslint config (#958)

* refactor: Update eslint config

* Fix lint

* test: Add e2e coverage via Cypress (#959)

* feat: Disable FS backend when user provides one (#930)

* feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* test: Add test coverage to appWithTranslation and serverSideTranslations (#960)

* docs: Update README (#961)

* v8.0.0-beta.5

* docs: Update README (#962)

* v8.0.0-beta.6

* chore: Update example lockfile (#964)

* chore: Update example lockfile

* Update package.json

* fix: Deep merge options.backend, closes #848 (#849)

* fix: Make create-config defaultFile use localeStructure (#966)

use @cescoallegrini modifications from
#934

* Update README.md

Co-authored-by: Léonard Drouillas <leonard.drouillas@gmail.com>

* chore: Lint examples dir (#969)

* fix: Add server side loading of fallbackLng (#970)

* refactor: Remove i18next-http-backend (#971)

* refactor: Remove i18next-http-backend

* Update config.yml

* Update basic.e2e.ts

* refactor: Add react-i18next useSuspense (#973)

* docs: Update README (#975)

* refactor: Add typeof window check to createConfig (#976)

* refactor: Remove serialize-javascript and add configOverride to appWithTranslation (#972)

* refactor: Remove serialize-javascript and add configOverride to appWithTranslation

* Add serializeConfig option

* Add docs

* Update README.md

* docs: Update README (#977)

* Update peerDependencies and version

Co-authored-by: Francesco Moro <franzmoro@users.noreply.github.com>
Co-authored-by: Felix Mosheev <9304194+felixmosh@users.noreply.github.com>
Co-authored-by: Tobias Koller <34249734+TKone7@users.noreply.github.com>
Co-authored-by: Filipe Medeiros <filipesilvamedeiros@gmail.com>
Co-authored-by: Léonard Drouillas <leonard.drouillas@gmail.com>
web-developer77 added a commit to web-developer77/next-i18next that referenced this pull request Aug 2, 2021
* Core changes to support NextJs v10

* Add default config file reading functionality

* Reimplement hoistNonReactStatics

* Update dependencies

* Strip out tests and unnecessary dependencies

* Fix linting setup

* Upgrade core dependencies

* Migrate config options to mirror NextJs

* v8.0.0-beta.0

* Remove deprecated config options and types

* Update example lockfile

* Remove need for locales and defaultLocale entirely

* Update example to use hooks

* Add documentation

* v8.0.0-beta.1

* Add NodeJs v14 to CircleCI

* Create serverSideTranslations.d.ts

* v8.0.0-beta.2

* fix: TS issues for v8-beta (#922)

* fix: export appWithTranslation type

also changed AppWithTranslation type: param is a React Component, not a React Component instance

* chore: remove unused NextI18Next exports

* fix: run-example prod script by adding the build step before it

* v8.0.0-beta.3

* fix: Remove server side code from client bundle (#926)

* Remove static dir entirely

* v8.0.0-beta.4

* feat: Add an ESM entry point to allow better bundle optimizations (#937)

* Add an ESM entry point to allow better tree-shaking & module concatenation

* Include ie11

* fix: added Trans to TS definition v8-beta (#951)

* added Trans to types

* fix: removed unused typess

* refactor: Use serialize-javascript (#954)

* refactor: Use NextJs i18n config API (#955)

* test: Add tests for config and consoleMessage (#956)

* test: Add coverage for createClient (#957)

* refactor: Update eslint config (#958)

* refactor: Update eslint config

* Fix lint

* test: Add e2e coverage via Cypress (#959)

* feat: Disable FS backend when user provides one (#930)

* feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* fixup! feat: Disable FS backend when user provides one

* test: Add test coverage to appWithTranslation and serverSideTranslations (#960)

* docs: Update README (#961)

* v8.0.0-beta.5

* docs: Update README (#962)

* v8.0.0-beta.6

* chore: Update example lockfile (#964)

* chore: Update example lockfile

* Update package.json

* fix: Deep merge options.backend, closes #848 (#849)

* fix: Make create-config defaultFile use localeStructure (#966)

use @cescoallegrini modifications from
i18next/next-i18next#934

* Update README.md

Co-authored-by: Léonard Drouillas <leonard.drouillas@gmail.com>

* chore: Lint examples dir (#969)

* fix: Add server side loading of fallbackLng (#970)

* refactor: Remove i18next-http-backend (#971)

* refactor: Remove i18next-http-backend

* Update config.yml

* Update basic.e2e.ts

* refactor: Add react-i18next useSuspense (#973)

* docs: Update README (#975)

* refactor: Add typeof window check to createConfig (#976)

* refactor: Remove serialize-javascript and add configOverride to appWithTranslation (#972)

* refactor: Remove serialize-javascript and add configOverride to appWithTranslation

* Add serializeConfig option

* Add docs

* Update README.md

* docs: Update README (#977)

* Update peerDependencies and version

Co-authored-by: Francesco Moro <franzmoro@users.noreply.github.com>
Co-authored-by: Felix Mosheev <9304194+felixmosh@users.noreply.github.com>
Co-authored-by: Tobias Koller <34249734+TKone7@users.noreply.github.com>
Co-authored-by: Filipe Medeiros <filipesilvamedeiros@gmail.com>
Co-authored-by: Léonard Drouillas <leonard.drouillas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential Bug - localeStructure config not working
2 participants