I have a problem with my mobile application. I developed my application with flutter and implemented Flutter Internationalization. After creating files with .arb extension I wanted to be able to choose the file by platform ( IOS or Android ) as well as language . Is it possible to use an If statement in the files with .arb extension? Are there any solutions for this problem of mine?
If statement in .arb files
399 Views Asked by Sbocco At
2
There are 2 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in INTERNATIONALIZATION
- Do GTK file chooser dialogs come with localized strings for buttons and titles?
- Difficulty with hosting Multilingual Wagtail site on alwaysdata
- Does the language used in schema need to match the HTML lang attribute?
- Next.js 14: using next-intl to change the language, redirects me to home page whenever I change the language
- next-i18next Problem with multiple links redirecting to the same location
- Python transliterator that holds the same rules as PHP one
- Using React Intl without a key
- Storybook build with i18n not worked
- ForceRTL on iOS isn't working in React Native App
- i18n Attaching variable in the middle of a string
- RN i18n issue on some iOS devices
- Next.js: SyntaxError: Named export 'i18n' not found
- nextjs 13, 14 App Directory language without i18n - internalization
- Django translation doesnt work in python code
- Nuxt.js i18n Not Serving Pages in Default Locale Without Redirecting
Related Questions in ARB
- error: Multiple arb files with the same 'en' locale detected
- Flutter arb file spacing in a select translation
- Why isn't my executable file created by a C program using the arblib library working?
- flint/arb.h: No such file or directory
- How to style .arb files in android studio
- If statement in .arb files
- Flutter l10n using arb: logic translations
- How to disable "untranslated message" warnings from Flutter gen-l10n for country files
- Flutter localisation method not generating correctly with plural placeholder
- Flutter Localization with ARB files
- How to store and access JSON objects in arb file in flutter?
- Non-breaking space in Flutter arb file
- How to render column conditionally for ActiveAdmin `table_for` array collection
- Geometry shader and Draw calls
- Convertor for Android resource strings to Flutter ARB and back?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can put that condition in dart file also.
For ex.,
Platform.isAndroid ? "Localization string 1" : "Localization string 2"