Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

So im trying to populate custom values into flutter intl phone field IntlPhoneField( readOnly: config.isReadonly, focusNode: focusNode, initialCountryCode: '...
Febin Johnson's user avatar
2 votes
3 answers
622 views

I have the following in my intl_en.arb file: "title_chef_selection": "Chef's Selection", "@title_chef_selection": {}, And I get this error: Error: Unbalanced escape ...
Ziad Ghanem's user avatar
7 votes
3 answers
2k views

I installed the VS Code Flutter intl extension and use it to translate a Flutter app. After setting up the extension, my "Problems" pane in VS Code is full of warnings, one for each key and ...
Ole Spaarmann's user avatar
1 vote
0 answers
1k views

Whenever I try to run the following commands: flutter pub run intl_utils:generate flutter gen-l10n flutter gen-l10n --template-arb-file=intl_en.arb It is not able to generate the localization files, ...
Raunaq Kalra's user avatar
1 vote
1 answer
187 views

I'm building flutter desktop application and need to implement localization/internationalization. I'm keeping the translations in the sql db and fetching via webapi. When the string is edited/changed ...
Biloliddin Makhmudov's user avatar
0 votes
1 answer
810 views

Hey I am building a flutter app and I am using the android studio flutter intl plugin, I want the generated files to be in src/shared/core/ but every time I generate them the go in the lib/ directory. ...
Omar Emad's user avatar
1 vote
1 answer
1k views

Followed the tutorial from Internationalizing Flutter apps only to discover that once Android Studio (Giraffe|2022.3.1 Patch1)'s Flutter Int plugin was initialized it will keep generating same file ...
Alex's user avatar
  • 5,944
2 votes
2 answers
487 views

Ok, maybe the question is not very precise. But, I figured out that the only way to have something similar to Android's <string-array> for translation in Flutter is to use select. For instance, &...
Draško's user avatar
  • 2,209
1 vote
1 answer
1k views

I have a problem with running an older flutter project on my windows machine. flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.10.5, on ...
Amr Hassan's user avatar
0 votes
2 answers
1k views

am new to flutter, in my project am scanning passport MRZ line using google ml kit and parse the data. Am facing issue when user birthdate is 23-04-2000 , in this case MRZ will be 000423. and I trying ...
abhi's user avatar
  • 62
3 votes
0 answers
261 views

I have to display a Value in both imperial and metric systems for example 1000 Liter could be displayed as 1000 Gallons or 1000 Gl for shorl if the user is in the USA. or 500 ml vs 500 Oz 100 Miles ...
Shobi's user avatar
  • 11.7k
2 votes
3 answers
2k views

I have recently started a new Flutter project. There is very little to it at this point. Only a couple of files and some basic packages like riverpod and intl for localization. Whenever I run flutter ...
Touché's user avatar
  • 584
1 vote
1 answer
107 views

I am using intl pakage's DateFormat class to format dates with a format like this: _standardDateFormat = DateFormat('MMM dd, yyyy'); This produces strings like Feb 01, 2023. How can I have the date ...
or9ob's user avatar
  • 2,392
1 vote
1 answer
404 views

I use flutter-intl to translate my app. I use protocol-buffers to communicate with other users. In the protocol buffer is an enum, e.g. blue, red, yellow. Now I want to translate the value of the enum ...
Alai's user avatar
  • 163
0 votes
3 answers
5k views

How can I fix it? Please don't say import intl.dart as you can see at the second photo I already add it.
onurkaygn's user avatar
2 votes
3 answers
1k views

I'm trying to use the intl plugin to get more translations of my app, but it always needs a context. In files without context where I simply have to assign a value to the variable what should I do? ...
Jonathan's user avatar
  • 164
1 vote
1 answer
1k views

_date = DateFormat('dd-MMM-yyyy').format(_rawDateTime); I have formatted the above _date with Intl package for displaying and now I have to send back to server and server require original format so ...
Abdullah's user avatar
0 votes
1 answer
3k views

I'm trying to use the flutter_intl plugin for Android Studio with an add-to-app Flutter app I'm developing on Android (by which I mean the Flutter app exists within an Android app, in its own sub-...
mosh.jinton's user avatar
0 votes
1 answer
529 views

I'm new to flutter and collecting fragments of code from here and there. I have a class that holds some data that will be passed later to a widget and generate the UI based on the passed data class ...
Basheer AL-MOMANI's user avatar
0 votes
1 answer
1k views

I followed the guide on localization and it is working great. But I would like the user to be able to change to a locale in the app that is different from the local of the device. Can I somehow just ...
Neigaard's user avatar
  • 4,174
0 votes
2 answers
2k views

I am really out of options here. I am currently trying to have an option in my settings that enable the user to change language on a Button tap with Provider. Changing the language currently works ...
Krypton's user avatar
0 votes
1 answer
2k views

I got data input in TextField using showDatePicker. I converted the selected data to String and parsed it to the format dd-mm-yy using intl format. According to docs DateFormat('ymd') is the way to do ...
Ganesh Sivakumar's user avatar
1 vote
2 answers
3k views

I'm in Flutter (Dart), I want to access to a property of a class, but the property that I have to access is defined by the content of another variable. Example: class class Fruit{ String get ...
AlonsoFV's user avatar
2 votes
1 answer
494 views

I am dealing with time strings such as "1030" or "0230" I am trying: var time = "1030"; DateFormat.jm().format(DateFormat("hhmm").parse(time)); However that ...
user1354934's user avatar
  • 8,931
2 votes
1 answer
640 views

It seems GlobalMaterialLocalizations.delegate does not support the zh Locale (Chinese). Is it really necessary adding GlobalCupertinoLocalizations.delegate before other locales works? I get this error ...
Joshua Erinosho's user avatar
1 vote
1 answer
1k views

I'm trying to parse date string that looks like this Feb0920221500 (month, day in month, year, hours, minutes). But when I use MMMddyyyyHmm pattern I always get a FormatException. Furthermore intl's ...
KY1VSTAR's user avatar
  • 465
1 vote
1 answer
862 views

Below is the code where the error occurs. I want to convert [NumberFormat][1] form to double. What should I do? I want to display it on the screen with the currency symbol, and get the result as a ...
Patrick SINT 's user avatar
0 votes
1 answer
3k views

I have a flutter project, and updated it to nullsafety just now. And I found that intl_translation plugin are not support for nullsafety. So I remove it and want to use the intl comes with the ...
CheverJohn's user avatar
5 votes
1 answer
6k views

Been moving over to Flutter 2, and in process moving our translations directly into .arb format, as now suggested. However hitting an issue where the generated l10n translation files can't understand ...
Craig Rees's user avatar
0 votes
0 answers
116 views

I am attempting to internationalize a flutter application using the Android Studio/VS Code Flutter Intl plugin. I can get the S.of(context).value to work throughout the app in widgets I've made ...
KatieK's user avatar
  • 81
1 vote
1 answer
8k views

I'm creating a PopupMenuButton to change the language of the app locally but I don't know how to load a different language. This is the Widget that I'm creating to change the language and I want to ...
JonasLevin's user avatar
  • 2,157
8 votes
0 answers
905 views

I am moving some widgets of my app into a seperated Flutter package. These widgets use AppLocalization to display localized Strings. I want to define the Strings inside the package. In the package ...
Smofe's user avatar
  • 91
0 votes
1 answer
727 views

Initially, the main localization file is intl_en.arb How and where to change the main localization file to another one, for example intl_ru.arb
fasmof's user avatar
  • 17
0 votes
2 answers
166 views

My code was working without problem. After upgrading flutter, pug get is giving error: But when I set intl to intl 0.17.0 , I got another error How can I solve this. Is it possible to go back in ...
Vincent's user avatar
  • 278
1 vote
1 answer
814 views

I am using localization in flutter. this is the eng text: placed for $date this is the translated text: $date का लागि राखिएको as you can see the text has a variable (date) in it and as the grammar ...
Ragas's user avatar
  • 3,265
0 votes
1 answer
298 views

I have read through the flutter i18n docs. I would like to achieve what Windows or Mac does - we can select a region, say India and have the regional settings like start of week etc set. The user can ...
Srikanth's user avatar
  • 2,112
-1 votes
2 answers
918 views

I am developing a flutter news app. The format of date from Api response is ( 2021-02-05T09:41:13+0000 ) and I want to convert it to DD-MM-YYYY format. Can anybody help me with this?
prathmesh sadake's user avatar
0 votes
1 answer
2k views

i have tried NumberFormat "#,##0.##" i have tried NumberFormat "#,##0.00" i have tried NumberFormat "#,##0.#0" the format i want is (123,4567.89) import 'package:flutter/...
user avatar
22 votes
2 answers
5k views

Running Flutter Intl: Initialize generates lib/l10n/intl_en.arb. However due to many strings in my applications I would wish to have multiple arb files for same language. To make it more clear, ...
Siva Jagadesh's user avatar
1 vote
1 answer
386 views

I know that flutter internationalization can support many languages, but I can’t find out which languages ​​it supports. Where can I find this information?
Zhuoyuan.Li's user avatar
2 votes
1 answer
2k views

I have issues with my Material Widgets (AppBar widget as an example). I tried to find a solution in other SO questions but nothing is working. In production App bar's back button, and some other ...
erknvl's user avatar
  • 108
1 vote
1 answer
210 views

from Monday - Thursday, I get the right days, but from Friday, I get the wrong days. Why? Code example: Text(DateFormat('EEEE').format(DateTime(DateTime.friday))), And i get Saturday. Is that a bug?
Tolga's user avatar
  • 375
4 votes
1 answer
1k views

I made a Flutter plugin and I need to add Internationalization. I have follow this tutorial like I usually do for a my Flutter app : Internationalization in Flutter 1.22+ But with a Flutter plugin ...
zackattack's user avatar
0 votes
1 answer
350 views

I am using key - value translation-S.of(context).translation_key- but I need something like "Translation string".translate() or translate("Translation string") How can I do this ? ...
Oğuzhan Aksoy's user avatar
2 votes
3 answers
1k views

I am new to Flutter and I am building a localized app using the flutter-intl plugin. I've declared a "Title" string in the .arb file for my locales. My program is trying to use this string ...
inq's user avatar
  • 303
9 votes
2 answers
3k views

I am using the Flutter Intl plugin by Localizely to localize my App. I generated arb files for the languages I want and begin to introduces the translations. For example: { "documentsSection": "...
jRuMoL's user avatar
  • 349
7 votes
4 answers
11k views

So far I was using dynamic strings as shown in the solution of this post: Flutter internationalization - Dynamic strings Here's an example: AppLocalizations.of(context).userAge(18) And on ...
Simple UX Apps's user avatar
5 votes
0 answers
588 views

I am having problems switching the language in a flutter-web application. I added the required dependencies to the package.yml. dependencies: flutter: sdk: flutter intl: ^0.16.1 ...
Mark's user avatar
  • 7,645
12 votes
3 answers
10k views

I'm creating a new flutter UI component that contains selection and getting more info about the product. I want this component to support RTL also, So I need to get the current locale language ...
Shady Mohamed Sherif's user avatar
0 votes
1 answer
2k views

I'm trying to convert the date time using the intl package, but the hour that it gives me back is always 8, while here is 10 (I live in Germany). Here's the code: String test(){ var now = new ...
Little Monkey's user avatar