Permalink
Browse files

Add multlingue to install

  • Loading branch information...
1 parent ecdebba commit 41cfdbc49fb9d661780933080ecfd2893c28d855 @iam-merlin iam-merlin committed May 9, 2012
View
@@ -0,0 +1,20 @@
+# LANGUAGE translation of CakePHP Application
+# Copyright YEAR NAME <EMAIL@ADDRESS>
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PROJECT VERSION\n"
+"POT-Creation-Date: 2012-05-09 05:47+0200\n"
+"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
+"Last-Translator: NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+#: /views/posts/view.ctp:312
+msgid "Answer"
+msgstr ""
+
@@ -1,2 +1,3 @@
2012-05-09 04:56:05 Notice: Notice (8): Undefined variable: count in [/home/dev/public_html/Coordino/app/views/posts/display.ctp, line 12]
2012-05-09 05:39:58 Notice: Notice (8): Use of undefined constant DEFAULT_LANGUAGE - assumed 'DEFAULT_LANGUAGE' in [/home/dev/public_html/Coordino/app/controllers/components/p28n.php, line 7]
+2012-05-09 06:04:49 Notice: Notice (8): Undefined variable: questions in [/home/dev/public_html/Coordino/app/models/tag.php, line 89]
@@ -14,3 +14,11 @@
2012-05-09 04:52:25 Warning: Warning (2): strlen() expects parameter 1 to be string, array given in [/home/dev/public_html/Coordino/cake/libs/i18n.php, line 184]
2012-05-09 04:52:26 Warning: Warning (2): strlen() expects parameter 1 to be string, array given in [/home/dev/public_html/Coordino/cake/libs/i18n.php, line 184]
2012-05-09 04:59:40 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 103]
+2012-05-09 06:03:00 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
+2012-05-09 06:03:13 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
+2012-05-09 06:04:49 Warning: Warning (2): array_reverse() expects parameter 1 to be array, null given in [/home/dev/public_html/Coordino/app/models/tag.php, line 89]
+2012-05-09 06:04:49 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/tags/find_tag.ctp, line 2]
+2012-05-09 06:05:04 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
+2012-05-09 06:06:57 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
+2012-05-09 06:19:27 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
+2012-05-09 06:20:06 Warning: Warning (2): Invalid argument supplied for foreach() in [/home/dev/public_html/Coordino/app/views/posts/view.ctp, line 105]
@@ -207,10 +207,13 @@
<div id="footer" class="wrapper">
<div class="left">
<ul class="tabs">
- <li><a href="/"><?php __('home'); ?></a></li>
- <li><a href="/questions/ask"><?php __('ask a question'); ?></a></li>
+ <li>
+ <?=$html->link(__('home',true),'/');?></li>
+ <li>
+ <?=$html->link(__('ask a question',true),'/questions/ask');?></li>
- <li><a href="/about"><?php __('about'); ?></a></li>
+ <li>
+ <?=$html->link(__('about',true),'/about');?></li>
</ul>
</div>
View
@@ -9,6 +9,15 @@
</head>
<body>
<?=$html->image('coordino_logo.png');?>
+ <div style="float:right">
+ <li>
+ <a href='#'><?php __('change language'); ?></a>
+ <ul>
+ <li><?=$html->link(__('english',true),'/lang/eng')?></li>
+ <li><?=$html->link(__('french',true),'/lang/fre')?></li>
+ </ul>
+ </li>
+ </div>
<? echo $session->flash(); ?>
<?=$content_for_layout;?>
<body>
@@ -72,7 +72,7 @@ textarea {
margin-right: 5px;
position: absolute;
- background-image: url(/img/wmd-buttons.png);
+ background-image: url('../img/wmd-buttons.png');
background-repeat: no-repeat;
background-position: 0px 0px;
display: inline-block;

0 comments on commit 41cfdbc

Please sign in to comment.