Questions tagged [arb]

Do not use for questions about the OpenGL Architecture Review Board or ARB OpenGL extensions. Use only for Application Resource Bundle

22 questions
18
votes
1 answer

Organise .arb files in flutter using Flutter intl extension

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, consider the following folder structure -->lib -->…
Siva Jagadesh
  • 343
  • 2
  • 10
16
votes
3 answers

What online tool do you use to automate translation of .arb files?

Do you know any good tools to support the translation of .arb files? It's a standard for Flutter and since Google Translator Toolkit will be sunset soon (https://support.google.com/translatortoolkit/answer/9462068) we're searching for a good…
Marcin Urbanski
  • 203
  • 2
  • 8
12
votes
2 answers

Multiline strings in Flutter *.arb files

I am internationalizing my flutter app. I have some long paragraphs that need to be internationalised, and in the .arb file it becomes painful to scroll. How can I break up the paragraph over multiple lines?
Adam Griffiths
  • 680
  • 6
  • 26
  • 60
4
votes
1 answer

Flutter Localization with ARB files

Actually I was using Arb files for localization in that I don't know how to make and access array type value in .arb files with flutter
Joel
  • 180
  • 1
  • 11
3
votes
2 answers

Flutter Localization with ARB - The getter was called on null

I've been having this error for a while and I think I need some second eyes of an expert to solve it and I'm really new in this language ^^. I added localizable to my project in Flutter, added all the files.arb in different languages and tries to…
keylin wu
  • 81
  • 1
  • 9
2
votes
0 answers

flint/arb.h: No such file or directory

I'm trying to compile this simple FLINT program: #include "flint/arb.h" int main() { arb_t x; arb_init(x); arb_const_pi(x, 50 * 3.33); arb_printn(x, 50, 0); flint_printf("\n"); flint_printf("Computed with FLINT-%s\n",…
2
votes
2 answers

How to disable "untranslated message" warnings from Flutter gen-l10n for country files

The specific case I'm looking at is two .arb language files: en and en_AU. en includes all the translation tokens and en_AU includes only a few that are actually different. This works as expected: with en_AU locale en tokens are used when no…
Grok_Narok
  • 21
  • 1
2
votes
2 answers

How to render column conditionally for ActiveAdmin `table_for` array collection

I have an array versions that I render on ActiveAdmin custom page (.html.arb), and I need to show some columns depending on the array element's value, but I struggle to understand how to loop over this array and apply conditional rendering table_for…
2
votes
0 answers

Convertor for Android resource strings to Flutter ARB and back?

I am looking for convertors for Android resource strings to Flutter ARB and back. Any suggestions greatly appreciated. Thanks.
Steve Brown
  • 369
  • 1
  • 3
  • 12
1
vote
1 answer

Flutter l10n using arb: logic translations

in my flutter app, I've implemented localization using .arb files. in my case what I want to implement is something like this: "arrangement_index": "{value}{value == 1? 'st' : 'nd'}", "@arrangement_index": { "placeholders": { "value": { …
Adnan
  • 906
  • 13
  • 30
1
vote
1 answer

How to store and access JSON objects in arb file in flutter?

I am implementing localization in flutter. From what I read in docs I get that all the translations should be in root/lib/l10n/ folder. I have two files in it app_en.arb and app_hi.arb. I have followed this official doc on flutter localization. As I…
sg717
  • 53
  • 6
1
vote
1 answer

Non-breaking space in Flutter arb file

I am trying to add the non-breaking space in my arb file in Flutter app, however, I can't find any way to put the Unicode characters to the arb file. I need something like: { "@@locale": "en", "helloWorld": "Hello world!", } Is it possible…
Marcin Szałek
  • 4,609
  • 5
  • 30
  • 43
1
vote
1 answer

Geometry shader and Draw calls

I am working on an old code base that uses Geometry shaders. It uses "glProgramParameteriEXT(...) to enable and specify Input/Output of the GS. The code in question is rendering curves. The input to the GS(via above mentioned method and not in the…
RAvatar
  • 11
  • 2
1
vote
3 answers

Flutter 1.22 Internationalization with variable as key

I implemented the new (official) localization for Flutter (https://pascalw.me/blog/2020/10/02/flutter-1.22-internationalization.html) and everything is working fine, except that I don't know how to get the translation for a variable key. The…
PlutoHDDev
  • 540
  • 7
  • 25
0
votes
0 answers

Flutter arb file spacing in a select translation

I am trying to translate a list of countries like that: arb file: "countries": "{choice, select, United States {United States} Mexico {Mexico} other {None}}", The implementation should be like this: S.of(context).countries(countryName) but the…
Omar Fayad
  • 1,733
  • 3
  • 11
  • 27
1
2