Skip to content

[Bug]: Translation keys for files on folders are not found #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
j3j5 opened this issue Feb 27, 2025 · 1 comment · May be fixed by #314
Open

[Bug]: Translation keys for files on folders are not found #282

j3j5 opened this issue Feb 27, 2025 · 1 comment · May be fixed by #314
Assignees
Labels

Comments

@j3j5
Copy link

j3j5 commented Feb 27, 2025

Extension Version

1.0.0

PHP Binary

Local PHP

Operating System

Linux

What happened?

When translation files are stored within a subfolder, the extension marks all keys as not found.

Ex.-
Translation file at lang/en/admin/users.php:

return [
   'h1' => 'Your users',
];

Mimimal Code Sample

__('admin/users.h1'); // Translation [admin/users.h1] not found.Laravel Extension(translation)
@N1ebieski
Copy link
Contributor

#314

@N1ebieski N1ebieski linked a pull request Mar 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants