Expand description
Bilingua filter for PHP array resource files: Laravel lang/*.php (return [...]), CodeIgniter 4 and CodeIgniter 3
($lang['key'] = '...') language files. See the README.
The file is tokenised, never executed. Every string value with a letter or digit is a unit, in source order; keys never. Code, comments, numbers and symbol strings stay in the skeleton byte for byte, and only the literal of a changed unit is rewritten, in the same quote style.
Structs§
Constants§
- SKELETON_
SCHEMA - Skeleton schema number: bump only when this crate’s skeleton layout changes (see
bilingua_model::check_parser).
Functions§
- records
- Every translatable string with its dotted key, in order (the LocOS
records()view).