Skip to content
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

feat: Command lang:find behavior with parameters #8899

Open
neznaika0 opened this issue May 17, 2024 · 0 comments
Open

feat: Command lang:find behavior with parameters #8899

neznaika0 opened this issue May 17, 2024 · 0 comments
Labels
enhancement PRs that improve existing functionalities

Comments

@neznaika0
Copy link
Contributor

Now, when scanning the application files, only "clean" translation keys will be added. For example, lang('File.key') but not lang('File.key', [$val]) lang('File.key', [$val], 'de')

It would be good if such options could be processed. I'm not sure about the final result yet, I'll leave this task as a reminder.

  • If you learn to recognize all these variables, you can improve the translation hints.
'key' => 'File.key {0} {1}'
'key' => 'File.key {name} {date}'
  • Identify the selected locale
@kenjis kenjis added the enhancement PRs that improve existing functionalities label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that improve existing functionalities
Projects
None yet
Development

No branches or pull requests

2 participants