excel2l10n 1.0.1 copy "excel2l10n: ^1.0.1" to clipboard
excel2l10n: ^1.0.1 copied to clipboard

A tool to convert excel to l10n files.

1.0.1 #

  • The Dart formatter now respects the target project's analysis_options.yamlformatter.page_width and formatter.trailing_commas are automatically picked up, and the language version is derived from the project's pubspec.yaml SDK constraint.

1.0.0 #

  • Introduced a structured L10nItem sealed class hierarchy: SimpleItem, PlaceholderItem, PluralItem, SelectItem, OrdinalItem, IcuItem.
  • Refactored L10nSheet with a three-phase parsing pipeline (raw rows → key grouping → type inference).
  • Supported typed placeholders via {name:type} syntax (int, double, num, datetime).
  • Added @plural(var), @select(var), @ordinal(var) annotations for multi-form entries using key[form] sub-key rows.
  • Added @icu annotation for raw ICU string pass-through.
  • Annotation in description now accepts trailing text as the entry's human-readable description (e.g. @select(gender)\n性别称谓).
  • Extended TextSpan generation to PluralItem, SelectItem, and OrdinalItem in the localizations target, using intl.Intl.pluralLogic / selectLogic.
  • localizations target now skips IcuItem entries with a stderr warning instead of emitting invalid code.
  • Updated arb and getx targets to handle all new item types (ICU strings for complex forms).
  • Added --config / -c CLI flag to specify a custom config file path.

0.1.5 #

  • Bump Dart About packages version.

0.1.4 #

  • User InlineSpan instead of TextSpan when generating placeholders.

0.1.3 #

  • Optimize generating TextSpan for target localizations. It will not generate TextSpan(text: '').

0.1.2+1 #

  • Fix extension error when build extension mixin for target localizations

0.1.2 #

  • Add feature extension for target localizations.

    You can write your excel2l10n.yaml like this:

    ```yaml
    target:
      name: localizations
      genExtension: true
    ```
    

    to additional generate a base class for your localizations class.

    You can write your own localizations as a supplement. And it will not be overwritten by subsequent generation operations.

0.1.1+1 #

  • Fix escaping error when build get String method for target localizations

0.1.1 #

  • Add feature escaping for target localizations

0.1.0 #

  • Relaxing dart version restrictions 3.5.3->3.3.0

0.0.3 #

  • Basic implement target localizations.

    What's different with target arb:

    • No need to generate .arb file, directly generate .dart file.
    • Generate TextSpan for placeholders. It means you can use Text.rich to display the value.
    • Other features supported are the same as target arb.

0.0.2 #

  • Basic implement for target arb.

    Currently supported:

    • description
    • Only String type placeholders

0.0.1 #

  • Implement platform feishu.
  • Implement target getx.
1
likes
140
points
205
downloads

Documentation

API reference

Publisher

verified publishernysm.dev

Weekly Downloads

A tool to convert excel to l10n files.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, dart_style, dio, meta, pub_semver, yaml

More

Packages that depend on excel2l10n