CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

feat: Command `lang:find` behavior with parameters

Open neznaika0 opened this issue 1 month ago • 0 comments

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

neznaika0 avatar May 17 '24 06:05 neznaika0