Statistics
4450
18
1
15d
Badges

Translation

Symfony/Translation integration for Nette Framework.


Build Status Code coverage Licence Downloads this Month Downloads total Latest stable PHPStan

Discussion / Help

Join the chat

Installation

composer require contributte/translation

Versions

State Version Branch PHP
development ^0.5.0 master ^7.1
stable ^0.4.0 master ^7.1

Prolog

Easy and clearly translations for your multi-language applications.

Maintainers


Aleš Wita

Milan Felix Šulc

Thank you for testing, reporting and contributing.

  • v0.4.1 v0.4.1

    Bump!

    Diff: v0.4.0...v0.4.1

    Changes:

    • don't duplicy Nette\SmartObject in translators
  • v0.4.0 v0.4.0

    Bump!

    Diff: v0.3.0...v0.4.0

    Changes:

    • move exceptions to standalove namespace (BC break)
    • possibility overwrite default extension settings for fallback and locale resolvers (may BC break)
    • fix valid HTML in Tracy panel
    • add PsrLogger support
    • split translators: Translator -> LoggerTranslator -> DebuggerTranslator (tnx f3l1x for idea)
  • v0.3.0 v0.3.0

    Bump!

    Diff: v0.2.1...v0.3.0

    Changes:

    • added Message wrapper for message pluralize, eg. in Nette/Forms without doubled translate (tnx @jtojnar for hints)
    • added NotTranslate wrapper for some user cases, eg. select box options loaded from database (tnx @jtojnar for hints)
    • added TranslationProviderInterface for loading resources from another extension (tnx @majklnajt for hints)
    • bug fix, when neon file is empty (tnx @majklnajt)
    • some minor improvements
  • v0.2.1 v0.2.1

    Bump!

    Diff: v0.2.0...v0.2.1

    Changes:

    • bug fix for null message ID (tnx @jtojnat)
  • v0.2.0 v0.2.0

    Bump!

    Diff: 0.1.0...v0.2.0

    Changes:

    • stable loaders for Doctrine 2 and Nette Database
    • bug fix for pluralizations, if count param is float
  • 0.1.0 v0.1.0

    Bump!

    Diff: 0.0.6...0.1.0

    Changes:

    • change namespace from Translette to Contributte (BC break)
    • added new locale resolver Router
    • fix for Parameter locale resolver
    • added experiment loader for Doctrine (read more in docs)
    • change dependencies to stable Nette versions
  • 0.0.6 v0.0.6

    Bump!

    Diff: 0.0.5...0.0.6

    Changes:

    • Tracy panel improvements
  • 0.0.5 v0.0.5

    Bump!

    Diff: 0.0.4...0.0.5

    Changes:

    • fixed plural translation
    • added PrefixedTranslator
  • 0.0.4 v0.0.4

    Bump!

    Diff: 0.0.3...0.0.4

    Changes:

    • added missing translation to Tracy panel
    • fixed prefix macro
  • 0.0.3 v0.0.3

    Bump!

    Diff: 0.0.2...0.0.3

    Changes:

    • support for absolute translation ( {_//domain.message} )
  • 0.0.2 v0.0.2

    Bump!

    Diff: 0.0.1...0.0.2

    Changes:

    • added translate macro ({translate}, n:translate)
    • fixed compatibiliti with Nette\DI 3.0.0-RC3
    • removed dependency to Nette\Utils 2.5 and Nette\DI 2.4
  • 0.0.1 v0.0.1

    First stable version for Nette 3!

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com