製品
店舗デモ
ショーケース
機能
開発者向け
店舗オーナー向け
産業
ファッション
健康& 美容
食品&飲料
自動車
工業 & 科学
家具
B2B eコマース
国際
ダウンロード
nopCommerce ダウンロード
マーケットプレース
翻訳
著作権削除キー
モバイルアプリケーション
Web API
サポート & サービス
トレーニング
ドキュメント
コミュニティフォーラム
プレミアムサポートサービス
見積り依頼
お問い合わせ
パートナー
日本語
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
始めましょう
Shopping cart
ユーザ
ログイン
ユーザ登録
ホーム
>
フォーラム
>
General
>
General Support
>
New line break in language record value
New line break in language record value
返信
sssorano
投稿総数:
102
カルマ:
580
参加:
2015/07/02
ロケーション:
Croatia
投稿完了:
2 ヶ月 前
Is it possible to edit the message in the Value field in language record? I would need a new line.
Thank you
New York
MVP
投稿総数:
11352
カルマ:
101192
参加:
2011/05/22
ロケーション:
United States
投稿完了:
2 ヶ月 前
It may depend...
Newlines may just be 'ignored' when rendered by the browser.
If you put in an HTML break <br/>, then it may show as-is if not wrapped in .Raw()
Which resource string do you want to add newlines to?
sssorano
投稿総数:
102
カルマ:
580
参加:
2015/07/02
ロケーション:
Croatia
投稿完了:
2 ヶ月 前
newsletter.resultactivated
New York
MVP
投稿総数:
11352
カルマ:
101192
参加:
2011/05/22
ロケーション:
United States
投稿完了:
2 ヶ月 前
Try this:
In this file, \Views\Newsletter\SubscriptionActivation.cshtml
Change from
@Model.Result
to
@Html.Raw(Model.Result)
Then, edit your locale resource string and use <br/> where you want the newlines.
返信
まだ質問があるか、助けが必要ですか?
.
プレミアムサポートサービス
.
24時間以内に応答を保証するnopCommerceチームからの専任サポートを受けてください。
.
開発者向けオンラインコース
.
nopCommerceウェブサイトの実行およびカスタマイズに必要な実用スキルおよび技術スキルを習得します。