0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

BabelEditでPre-Translateで翻訳しない文字列を指定する

Posted at

Flutterでアプリ開発しているとBabelEditで翻訳リソースの管理することがあると思います。
そしてBebelEditにはPre-Translateという自動翻訳の機能もあり、この機能をつかって翻訳することも多いです。

翻訳の中にはあとから置換する予定の変数で翻訳したくない部分があります。
こんにちは、太郎 の太郎の部分などです。

この場合、BabelEditでは こんにちは、{NAME} のようにすることで、 {NAME} が自動翻訳の対象外になります。
結果はこんな感じ。

サポートに問い合わせたところ以下の返答があったので、試していませんがXML/HTMLでも対象外にできるようです。

Pre-translate excludes text in {} and XML/HTML attributes.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?