Skip to content

i18n.mdの「ロケールファイルの編成」を修正#1847

Merged
hachi8833 merged 1 commit intoyasslab:masterfrom
YukiDoi-1025:patch-1
May 20, 2025
Merged

i18n.mdの「ロケールファイルの編成」を修正#1847
hachi8833 merged 1 commit intoyasslab:masterfrom
YukiDoi-1025:patch-1

Conversation

@YukiDoi-1025
Copy link

i18n.mdの3.7 ロケールファイルの編成を修正。

3.7 ロケールファイルの編成のNOTEを削除。
Rails 7 からネストした辞書をデフォルトで読み込むように変更されたため、この設定は必要なし。
参考:https://blog.saeloun.com/2021/07/20/rails-7-allows-nested-locales
英文のガイドでは既にNOTEが削除されている。

i18n.mdの3.7 ロケールファイルの編成を修正。

3.7 ロケールファイルの編成のNOTEを削除。
Rails 7 からデフォルトのロケール読み込みでもネストした辞書を読み込むように変更されたため、この方法は必要なし。
参考:https://blog.saeloun.com/2021/07/20/rails-7-allows-nested-locales
英文のガイドでは既にNOTEが削除されている。
@yasulab yasulab requested a review from hachi8833 May 20, 2025 06:45
Copy link
Collaborator

@hachi8833 hachi8833 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正ありがとうございます!マージしました

@hachi8833 hachi8833 merged commit f76c95a into yasslab:master May 20, 2025
2 checks passed
@yasulab
Copy link
Member

yasulab commented May 20, 2025

早速の PR 確認&マージのご対応ありがとうございます...!! (>人< )✨

一応手元の方でも内容確認しておきました! 📝 ✅ https://guides.rubyonrails.org/i18n.html#organization-of-locale-files

image

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.

3 participants