loc_checker 2.0.1 copy "loc_checker: ^2.0.1" to clipboard
loc_checker: ^2.0.1 copied to clipboard

A tool to detect non-localized strings in Flutter projects and generate ARB files with camelCase keys.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate loc_checker

Use it

The package has the following executables:

$ loc_checker

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add loc_checker

With Flutter:

 $ flutter pub add loc_checker

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  loc_checker: ^2.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:loc_checker/analytics/coverage_analytics.dart';
import 'package:loc_checker/ast_visitor.dart';
import 'package:loc_checker/automation/code_converter.dart';
import 'package:loc_checker/automation/code_generator.dart';
import 'package:loc_checker/automation/translation_service.dart';
import 'package:loc_checker/checker.dart';
import 'package:loc_checker/config.dart';
import 'package:loc_checker/enhanced_checker.dart';
import 'package:loc_checker/enhanced_patterns/widget_pattern_detector.dart';
import 'package:loc_checker/generator/arb_generator.dart';
import 'package:loc_checker/helpers/localized_keys.dart';
import 'package:loc_checker/helpers/string_filters.dart';
import 'package:loc_checker/models/models.dart';
7
likes
120
points
456
downloads

Publisher

unverified uploader

Weekly Downloads

A tool to detect non-localized strings in Flutter projects and generate ARB files with camelCase keys.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, file, glob, http, path, yaml

More

Packages that depend on loc_checker