Skip to content

Bug: Language folders inside locale folders NOT Working ! #3582

Closed
@crustamet

Description

@crustamet

Describe the bug
Having some folders inside the language does not work when trying to output the lang.
Guys always saying this was working but it is not.

Folder structure
Language/en/Portfolio/list.php
Language/en/Portfolio/add.php
Language/en/Portfolio/edit.php

Inside list.php

return [
	'header.title'  => 'Portfolios List',
];

inside VIEW

echo lang('Portfolio.list.header.title');

Not working

CodeIgniter 4 version
Latest Dev version, this is not working with previous versions also

Expected behavior, and steps to reproduce if appropriate
It should output the value from the folder of the language.

Context

  • PHP version 7.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions