https://github.com/jules-media/string_translate
A Dart Package to Translate Strings
https://github.com/jules-media/string_translate
dart i18n internationalization localization package
Last synced: 29 days ago
JSON representation
A Dart Package to Translate Strings
- Host: GitHub
- URL: https://github.com/jules-media/string_translate
- Owner: Jules-Media
- License: apache-2.0
- Created: 2022-03-30T18:56:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-07T11:34:02.000Z (over 1 year ago)
- Last Synced: 2025-03-22T21:22:53.722Z (about 1 month ago)
- Topics: dart, i18n, internationalization, localization, package
- Language: Dart
- Homepage: https://pub.dev/packages/string_translate
- Size: 64.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
This Plugin lets you translate Strings
# String Translate
Github: https://github.com/Jules-Media/String_translate \
Pub.dev: https://pub.dev/packages/string_translateThis Package can be used to translate Strings. You just have to
init the Package Code, provide your Translations and Locales / Languages
you want to translate to and the Package does the rest for you :)## Features
Translate String to different Languages on runtime
At the Moment this App nativly brings the Locales: \
English \
German \
French \
Spanish \
Portuguese## Getting started
Just import the package.
Init it, provide the Values and then you can start## Usage
Example:
```dart
// Translates the Hello String with the given Values
// The Values have to be provided while calling Translation.init()
final String text = "Hello".tr();
```## Additional information
This Package is written in pure Dart Code. You can use it without Flutter or Cocoapods or any other extra code.