Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kamazoun
2021-01-21 21:41:32 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1055c49f9de2d4d127b37769564940a7e93a048e
1055c49f
1 parent
649180c1
#19 in README-fr.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
README-fr.md
README-fr.md
View file @
1055c49
...
...
@@ -372,12 +372,13 @@ Text('logged_in'.trParams({
### Locales
Pass parameters to
`GetMaterialApp`
to define the locale and translations.
Pour definir les traductions, passer les paramètres 'locale' et 'translations' à GetMaterialApp.
```
dart
return
GetMaterialApp
(
translations:
Messages
(),
// your translations
locale:
Locale
(
'en'
,
'US'
),
// translations will be displayed in that locale
fallbackLocale:
Locale
(
'en'
,
'UK'
),
// specify the fallback locale in case an invalid locale is selected.
translations:
Messages
(),
// Vos traductions
locale:
Locale
(
'en'
,
'US'
),
// Les traductions seront faites dans cette 'locale' (langue)
fallbackLocale:
Locale
(
'en'
,
'UK'
),
// definit le 'language de secours' au cas oú un language invalide est sélectionné.
);
```
...
...
Please
register
or
login
to post a comment