Ticket #497 (fixed enhancement)
Add sprintf functionality to translation system
- Created: 2011-09-21 22:08:39
- Reported by: Franz
- Assigned to: Franz
- Milestone: 2.0-alpha1
- Component: localization
- Priority: normal
Instead of calling sprintf() separately, we can simply add this functionality to the Flux_Lang::t() function.
Also, Gettext supports stuff like pluralization. That should be taken care of, too.
Franz 2011-10-18 23:17:40
- Status changed from open to fixed.
Additional parameters can simply be passed to the Flux_Lang::t() function now - it works just like sprintf().