in tranlate file, you must add a "'" for your transchoice string, but it is not needed for trans string.
For example:
For example:
list:
create:
company: Ajouter une société
appointment: Ajouter une rendez-vous
export:
company: Exporter des entreprises
text: vers un fichier texte
website: vers un site web
index:
visit: '{0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples'
call: '{0}There is no apples |{1} There is one apple |]1,Inf] There are %count% apples'
If you remove the ', then symfony will tell you he can not find the proper trans string.
评论
发表评论