これを使用して、翻訳が必要なすべての文字列リテラルを抽出します。
xgettext -o $@ -k"Localizer.get" $^ --from-code=utf-8
これらを抽出する必要があります。
Localizer.get("Could not find the config file. (This should *not* happen!)")
これらはありません:
SettingsWrapper.getString("date_format")
しかし、両方とも私の .pot ファイルで終わります:
msgid "date_format"
msgstr ""
これをまっすぐにする方法はありますか?