gsheet_to_arb 0.1.11 icon indicating copy to clipboard operation
gsheet_to_arb: ^0.1.11 copied to clipboard

Imports Application Resource Bundle (ARB) from Google Sheets documents

example/lib/main.dart

import 'package:intl/intl.dart';

import 'l10n/_messages_all.dart';
import 'l10n/l10n.dart';

void main() async {
  print('MAIN');

  Intl.defaultLocale = 'pl';
  await initializeMessages(Intl.defaultLocale);

  final l10n = L10n();

  print(l10n.title);
  print(l10n.login);
  print(l10n.singleArgument('arg'));
  print(l10n.twoArguments('arg1', 'arg2'));

  // plurals
  print(l10n.numberOfSongsAvailable(0));
  print(l10n.numberOfSongsAvailable(1));
  print(l10n.numberOfSongsAvailable(2));
  print(l10n.numberOfSongsAvailable(5));
  print(l10n.numberOfSongsAvailable(10));

  
}
14
likes
85
pub points
35%
popularity

Publisher

verified publisher iconallbright.io

Imports Application Resource Bundle (ARB) from Google Sheets documents

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-2-Clause-Views (LICENSE)

Dependencies

args, code_builder, dart_style, file_utils, googleapis, googleapis_auth, intl, intl_translation, json_annotation, logging, path, petitparser, quiver, recase, yaml

More

Packages that depend on gsheet_to_arb