0 purchases
translateultra
Features #
TranslateUltra provides multiple custom translation methodolgy through which you
can define how to deal with words or paragraph in different language.
Getting started #
Step 1: Install the package using
flutter pub add translateultra
copied to clipboard
Usage #
TODO: Include shorte and useful examples for pacwqkage users. Add longerw examples
to /example folder.
Step 1- Create a JSON file in the below format and add as many details you need.
{
"language": ["en", "hi","bg","pnj"],
"hi": ["hi", "नमस्ते","ওহে","ਹੈਲੋ"]
}
copied to clipboard
Step 2- Use TranslateUltra instead of Text widget to use your custom language.
@override
Widget build(BuildContext context) {
//getText();
//print(widget.choosenLanguage);
return Scaffold(
body: TranslateUltra(
text: "Hi",//Text
language: "en",//language you want to convert mentioned @ "location" of JSON
location: "asset/custom.json",//asset location
),
);
}
copied to clipboard
Additional information #
We will love you contribution to
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.