Advertisement
amjithps

Local file issue

Sep 12th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. // App controller call
  2. Configure::write('Config.language', 'swe');
  3.  
  4. // File \app\Locale\eng\LC_MESSAGES\default.po
  5. msgid "WeddingLife"
  6. msgstr ""
  7.  
  8. // File \app\Locale\swe\LC_MESSAGES\default.po
  9. msgid "WeddingLife"
  10. msgstr "Bröllogram"
  11.  
  12. // All the string WeddingLife is written everywhere like this
  13. echo __("WeddingLife");
  14.  
  15. But this word is not changing. The sentences with this word "WeddingLife" is also not converting to swe(I have given other tags also.) Can anyone help? I am searching and reading for last 3 hours but not able to find a solution.
  16.  
  17. Thanks in advance.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement