CodeIgniter4
CodeIgniter4 copied to clipboard
feat: Command `lang:find` behavior with parameters
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