language_translator 0.0.5+1
language_translator: ^0.0.5+1 copied to clipboard
A lightweight Flutter package for easy multilingual support, providing string translation with or without context, RTL support, and a custom widget for translated text display.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add language_translatorWith Flutter:
$ flutter pub add language_translatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
language_translator: ^0.0.5+1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:language_translator/language_translator.dart';