PackageTrack
Sign in Get early access

localization

Package to simplify the package translation.

2.1.1 15K downloads/mo #2455 most downloaded on pub.dev Flutterando/localization

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 1.8 years

Most releases are documented

notes for 7 of 10 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

14 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

14 releases · Dec 2019 to Oct 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.2.0-beta.1 23 Oct 2024 pre-release
    Release notes

    What's Changed

    • Bump Flutter version to 3.22.0 ++;
    • Created example importing translation files from a package;
    • If the key was not found in any of the translation files, it shows the entire key. Eg: buttons.subscribe;
    Open source →
    Release notes

    2.2.0-beta.1 Pre-release

    Pre-release

    Compare

    Choose a tag to compare

    Open source →
  2. 2.1.1 14 Nov 2023

    Nothing published for this version

  3. 2.1.0 03 Feb 2022
    Release notes
    • Added multiples path files.
    Open source →
  4. 2.0.0 24 Jan 2022

    Nothing published for this version

  5. 2.0.0+1 24 Jan 2022
    Release notes

    Now the Localization package is fully integrated into Flutter and can reflect changes made natively by the SDK.

    • BREAK CHANGE: Removed packages translation files;
    • BREAK CHANGE: .i18n() parameters are a positional args now;
    • BREAK CHANGE: Removed conditions. After long discussions, we decided that this is a developer responsibility, for example:
    final items = 10;
    if(items == 1) return 'title-label-singular'.i18n();
    if(items > 1) return 'title-label-plural'.i18n();
    
    Open source →
  6. 1.1.2-dev.1 13 Jan 2022 pre-release
    Release notes

    Added support of translation files just with language, for example pt.json;

    await Localization.configuration(showDebugPrintMode: false);
    
    Open source →
  7. 1.1.1 23 Nov 2021
    Release notes

    deixar Log ocional, para desativa-lo basta utilizar

    await Localization.configuration(showDebugPrintMode: false);
    

    You can set the variable calling the function:

    Localization.setShowDebugPrintMode(false);
    
    Open source →
  8. 1.1.0 30 Sep 2021
    Release notes
    • BREAK CHANGE: The parameters from method 'welcome'.i18n(["22/06"]) e Localization.translate('welcome', ["22/06"]) are named;
    • BREAK CHANGE: Use "welcome".i18n(args: ["22/06"]) ao invés de "welcome".i18n(["22/06"])
    • BREAK CHANGE: Use Localization.translate('welcome', args: ["22/06"]) ao invés de Localization.translate('welcome', ["22/06"])

    New features

    • Adição de possibilidade de usar condicionais utilize o %b{condicao_verdadeira:condição_falsa} para configurar as suas traduções
    {
    	'quantidade':  '%s %b{Resultados:Resultado} %b{encontrados:encontrado}'
    }
    

    Será necessário na parâmetro conditions passar uma lista de Booleanos de forma posicional

    Localization.translate(
    	'testeQuantidade',
    	args: ['2'],
    	conditions: [true, true],
    )
    
    'testeQuantidade'.i18n(
    	args: ['1'],
    	conditions: [false, false],
    )
    
    Open source →
  9. 1.0.1-beta.1 30 Jul 2021 pre-release

    Nothing published for this version

  10. 1.0.0 29 Jul 2021
    Release notes
    • Use Text("welcome".i18n(args: ["22/06"])), ao inves de Text("welcome".i18n(["22/06"])),
    Open source →
    Release notes

    Localization UI v1.0.0 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  11. 0.2.0-nullsafety 01 Mar 2021 pre-release
    Release notes
    • Migração Nullsafety;
    Open source →
  12. 0.1.0 11 Jun 2020
    Release notes
    • Atualizado README;
    • Adicionada automação no SLIDY CLI;
    Open source →
  13. 0.0.2 25 Feb 2020
    Release notes
    • Initial release.
    Open source →
  14. 0.0.1 10 Dec 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive