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

【フォーム】サブサイト利用の英語言語設定において、メールフィールドの「都道府県リスト」が日本語のままになる #1665

Closed
shun-ue opened this issue Mar 25, 2021 · 3 comments
Assignees
Labels
Bug バグ

Comments

@shun-ue
Copy link
Contributor

shun-ue commented Mar 25, 2021

概要

forumより指摘
サブサイト利用の英語言語設定において、メールフィールドの「都道府県リスト」が日本語のままになる
https://forum.basercms.net/t/topic/623/4
コードのリファクタリングが影響しているのでしょうか?

baserCMS version : 4.4.3以降

@ryuring ryuring added the Bug バグ label Mar 30, 2021
@kaburk kaburk self-assigned this Jun 30, 2021
@kaburk
Copy link
Collaborator

kaburk commented Jun 30, 2021

調べてみたところ、フロント側で言語リソースの baser.poが読み込めてないみたいですね。
BcTextヘルパーの他のメソッドもフロント側で多言語化できてない感じでした。

NG: baser.po
__d('baser', 'ほげほげ');

OK: defarult.po
__d('default', 'ほげほげ');
__('ほげほげ');

ちょっと根が深いかも…。

@kaburk
Copy link
Collaborator

kaburk commented Jun 30, 2021

baser.po 管理側で使う言語設定
default.po フロント側で使う言語設定

という感じの区分けみたいなので、baser.poを無理やり読み込むより
baser.poにある都道府県の一覧の設定をdefault.po に移すのが良さそうな感じですね、、、。

@yama
Copy link
Contributor

yama commented Jun 30, 2021

99e5783
このへん関係ないでしょうか?

@gondoh gondoh closed this as completed in e4db7b8 Jul 28, 2021
gondoh added a commit that referenced this issue Jul 28, 2021
fix  #1665【フォーム】サブサイト利用の英語言語設定において、メールフィールドの「都道府県リスト」が日本語のままになる件の修正
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug バグ
Projects
None yet
Development

No branches or pull requests

4 participants