Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Meta Title Resolution for nested pages

オープン
#416 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

status: proposal
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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

intlify/bundle-tools のほかの issue

intlify/bundle-tools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。