Skip to content

Support l10n in config files #300

@ouun

Description

@ouun

Version

3.2.0

What did you expect to happen?

Using __() in config files registers the strings for gettext and $this->app->config->get() gets the config with the translated strings.

What actually happens?

$this->app->config->get() / config() gets the original strings and not the translation.
Also please see this issue for Poet.

Steps to reproduce

Add a string with __() to any config file, translate it and get the config with config().

System info

No response

Log output

No response

Please confirm this isn't a support request.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions