Skip to content

Conversation

@shaanmajid
Copy link
Contributor

@shaanmajid shaanmajid commented Dec 19, 2025

Summary

Fixes #307

PR #306 added Italian with prefix: "/", which overwrote English. English is now inaccessible and missing from the language picker.

Cause

{
  dir: "ltr",
  name: "Italiano",
  prefix: "/",        // should be "/it/"
  postsDir: "/it/",
  config: itConfig,
},

Changes

  • inert.config.js: Italian prefix "/""/it/", removed redundant postsDir
  • it.lang.js: prefix "/""/it/"

Result

  • English at /
  • Italian at /it/
  • Both in language picker

Deploy Preview

@shaanmajid
Copy link
Contributor Author

shaanmajid commented Dec 19, 2025

Hey @jasonsaayman, quick heads up that #306 appears to have caused the main site to default to Italian and make English inaccessible (the prefix was set to / instead of /it/). This PR has a quick fix. No rush, just flagging since it affects the live site.

@shaanmajid shaanmajid changed the title [Fixed] Italian localization prefix overriding English as default language [Fixed] English documentation completely inaccessible — Italian prefix overwrote root path Dec 19, 2025
@shaanmajid shaanmajid changed the title [Fixed] English documentation completely inaccessible — Italian prefix overwrote root path [Fixed] Italian localization prefix overwrote English Dec 19, 2025
@IgorArnaut
Copy link

Has it been fixed now?

@jasonsaayman jasonsaayman merged commit f4919f6 into axios:master Dec 22, 2025
4 checks passed
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.

English documentation completely inaccessible — Italian localization overwrote English at root path

3 participants