パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.5.0+1

lyrebird

intl パッケージと併用するためのアプリケーションリソースバンドルのローカライズファイル用のビジュアルエディタ。

macOSWindowsLinux
30日間ダウンロード
31
いいね数
45
Pub ポイント
150

パッケージをインストール

flutter pub add lyrebird

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Lyrebird は、Flutter アプリケーションで intl パッケージと併用されるローカリゼーションリソースバンドルを管理するためのビジュアルエディタです。.arb ファイルを手動で扱う必要なく、複数言語の翻訳ファイルを編集・整理・維持できる直感的なインターフェースを提供します。このツールは Flutter 開発ワークフローとシームレスに統合され、macOS、Windows、Linux で利用可能です。開発者は翻訳作業を効率的に共同作業でき、リアルタイムで変更内容をプレビューし、言語バリアント間の一貫性を保証できます。

用途

  • ARB ファイルを視覚的に編集する
  • マルチ言語の翻訳を管理する
  • ローカリゼーションコンテンツの共同作業
  • intl パッケージのワークフローとの統合
  • コンテキスト内の翻訳をプレビューする

主な機能

  • ARB ファイル編集用の GUI
  • リアルタイム翻訳のプレビュー
  • マルチプラットフォーム対応
  • intl パッケージの規則に同期する
  • 翻訳バンドルのエクスポートとインポート

適している対象

  • intl パッケージを使用する Flutter 開発者
  • 大規模なローカリゼーションを管理するチーム
  • ローカリゼーション専門家
  • クロスプラットフォームアプリ開発者

注意事項

  • intl パッケージを使用した手動設定が必要です
  • ARB ファイル形式に制限
  • クラウド共同作業機能なし
  • デスクトップ専用アプリケーション
  • 翻訳サービスの代替ではありません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。


Lyrebird - Localization tool for Dart and Flutter

Website · Documentation · GitHub · pub.dev


A visual editor for Application Resource Bundle (.arb) localization files, enabling rapid development. It is specifically designed to be used for Dart and Flutter projects using the intl package.

The editor runs locally on your machine, meaning you can use familiar versioning tools like Git and do not have to upload or download localization files.

Warning: This project is very early in development, use with extreme caution! Make sure you have all important changes committed before trying it out.


Lyrebird editor screenshot


Contents

Features

Supported
  • Add and remove localization keys
  • Edit a localization keys' metadata
  • Add, edit, and remove placeholder variables
  • Edit the ICU value of a localization entry using a visual editor
    • Text blocks
    • Arguments
    • Select with branches
    • Plural with branches
      • Plural arguments
Planned
  • Proper error handling
  • A "try it out" section to test your localizations
  • Creating new files
  • Dark theme
  • Support for XML tags
  • Collapsable nodes
  • Textual ICU editor
  • A subscription service for automated machine translations (e.g. using DeepL)

Installation

To install the Lyrebird launcher, run the command:

dart pub global activate lyrebird

Or, if you are using the Flutter CLI, run:

flutter pub global activate lyrebird

Optionally, you can add Lyrebird to your PATH variable. Consult the Dart documentation for more information.

Configuration

Lyrebird uses the l10n.yaml configuration file defined by the Flutter team and obeyed by the flutter gen-l10n command as its project file. More specifically, the arb-dir field will be opened by Lyrebird for editing.

arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart

If you are working on a pure-Dart project, don't worry! You can also create an l10n.yaml file without using Flutter.

Usage

Navigate to the directory containing the l10n.yaml file in your terminal. If you added Lyrebird to your PATH in the previous step, simply run

lyrebird

Otherwise, with the Dart CLI, run:

dart pub global run lyrebird

Or, using the Flutter CLI, run:

flutter pub global run lyrebird

Open the URL printed to the standard output in your browser. Use Ctrl+S (or Cmd+S on a Mac) to save your changes.

For more options, see

lyrebird --help

カテゴリー

依存関係

依存関係一覧 6 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。