cakephp - i18n in cake - how to use language shortcut like en instead of eng -
My app is ready for my translation but unfortunately I use the 'N', 'D' and 'PL' language shortcuts Instead of developing it, instead of 'ng', 'jer' and 'pole' now I think that when I do the You can use 2 code language code for Configure :: write ('Config.language', 'pl') I do not want to read the translation from
App / Locale / pl / LC_MESSAGES / default .po - but it works with
pol for example. The problem is that using all my links, internalized files and so on 'N', 'D', 'PL' - I can not convert it to 'IG', 'Poll' and so on ... Could the cake be forced to use my configuration?
config configuration values and your url but your local Name the folders using the same 3 letter code. Therefore folders
locale / nag ,
local / dU ,
locale / pole for your language code 'n', 'd', 'pl' The cake will look properly in the corresponding folder for translation files respectively.
Comments
Post a Comment