Meta Title Resolution for nested pages
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
issue に記載されている、ネストされた pages/information/legal-mentions.vue ルートと、それに対応する locales/fr/information/legal-mentions.json 構造で警告を再現します。まず meta.title パスがどのように解決されるかを追跡し、次にネストされたキーが intlify の警告なしに解決されることを確認します。比較対象となる代替動作として useHead() が示されています。
索引モデルが issue の本文から書いたものです。
説明
Clear and concise description of the problem
Can't find meta title with a nested page like "information/legal-mentions"
I get :
[intlify] Not found '/information/legal-mentions._meta.title' key in 'fr' locale messages.
Suggested solution
Either need to have a way to replicate the nested file architecture on the translation side like
locales/
├── en/
│ ├── home.json
│ ├── about.json
│ └── information/
│ ├── legal-mentions.json
│ └── privacy.json
└── fr/
├── home.json
├── about.json
└── information/
├── legal-mentions.json
└── privacy.json
to match the page routing architecture side
pages/
├── home.vue
├── about.vue
└── information/
├── legal-mentions.vue
└── privacy.vue
so that it automatically exports information/legal-mentions keys as information.legal-mentions so that it can automatically target the _meta.title keys in the information/legal-mentions.json
Or else be able to modify the meta title path before resolution to be able to call your said file or even a single file with all meta titles
Alternative
No response
Additional context
I have other ways to update the Page Title like using useHead() with my translation but I want to get read of the intlify warning
Validations
- Read the Contributing Guidelines.
- Read the README
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- 主要言語
- TypeScript
- スター
- 270
- フォーク
- 46
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intlify/bundle-tools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
intlify/bundle-tools#612 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
intlify/bundle-tools#611 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
intlify/bundle-tools#600 · コメント 5 件 ·
-
Locale files are never invalidated on Vite 8 — dev server serves stale translations until restartオープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
intlify/bundle-tools#599 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
intlify/bundle-tools#533 ·
intlify/bundle-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
callstackincubator/rozenite#518 ·
メンテナーはふだん 1 日以内に返信
-
Area/Workflow Priority/Blocker Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
wso2/product-integrator#2622 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
area:bash bug has repro platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anthropics/claude-code#98644 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
allure-framework/allure-js#1603 ·
メンテナーはふだん 1 日以内に返信