FLUTTER ECOSYSTEM

Jesway/flutter_translate

Flutter Translate 是一個功能齊全的 Flutter 本地化/國際化(i18n)程式庫。

flutter_translate 專案封面
Stars
410
Forks
146
最近推送(UTC)
2024年5月28日
專案狀態
已封存
Jesway GitHub avatar
GITHUB Organization

Jesway ↗

Innovative software development

語言DartCMakeRubyHTMLObjective-CJavaC++

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項
  • flutter{"sdk":"flutter"}
  • universal_io^2.2.2
  • intl^0.19.0
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

https://github.com/Jesway/Flutter-Translate/raw/master/resources/images/flutter_translate.png

pub package Awesome Flutter License: MIT Flutter.io


Flutter Translate is a fully featured localization / internationalization (i18n) library for Flutter.

It lets you define translations for your content in different languages and switch between them easily.

Example

https://raw.githubusercontent.com/Jesway/Flutter-Translate/master/resources/gifs/flutter_translate_screen.gif

Features

  • Very easy to use
  • Mobile, Web and Desktop support
  • Pluralization and Duals support
  • Supports both languageCode (en) and languageCode_countryCode (en_US) locale formats
  • Automatically save & restore the selected locale with a simple implementation
  • Full support for right-to-left locales
  • Fallback locale support in case the system locale is unsupported
  • Supports both inline or nested JSON

Documentation

Complete documentation is available on the wiki page.

To get started please see Installation, Configuration & Usage.

Example

https://github.com/Jesway/Flutter-Translate/tree/master/example

Issues

Please file any issues, bugs or feature request here.

License

This project is licensed under the MIT License