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