Skip to content

feat: Command lang:find behavior with parameters #8899

Open
@neznaika0

Description

@neznaika0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementPRs that improve existing functionalities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions