fluent_translate 0.0.11
fluent_translate: ^0.0.11 copied to clipboard
Offline translation engine for Flutter with layered processing, dictionary/phrase management, and JSON-file based storage.
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
220 out of 254 API elements (86.6 %) have documentation comments.
Some symbols that are missing documentation: fluent_translate.CacheManager.CACHE_TTL_MS, fluent_translate.CacheManager.CacheManager.new, fluent_translate.CacheManager.MAX_PHRASES_CACHE, fluent_translate.CacheManager.MAX_WORDS_CACHE, fluent_translate.CacheMetrics.CacheMetrics.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:fluent_translate/fluent_translate.dartthat imports:package:fluent_translate/src/core/translation_engine.dartthat imports:package:fluent_translate/src/core/translation_pipeline.dartthat imports:package:fluent_translate/src/core/layer_adapters.dartthat imports:package:fluent_translate/src/data/phrase_repository.dartthat imports:package:fluent_translate/src/storage/file_storage.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Use interpolation to compose strings and values.
bin/commands/export_command.dart:112:14
╷
112 │ return '"' + s.replaceAll('"', '""') + '"';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze bin/commands/export_command.dart
INFO: Use interpolation to compose strings and values.
lib/src/core/translation_engine.dart:153:41
╷
153 │ _dataPath = customDatabasePath ?? Directory.current.uri.toFilePath() + 'translation_data';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/translation_engine.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.