Manage large multilingual project

2012-06-09 Thread heohni
Hi, I have a project with currently 5 languages and I am using.po files for the translations. Now the project is live and running and I have to update the site content (static text) and have to include the translations. Right now I feel the work extremely inefficient as I have to replace the

Re: Manage large multilingual project

2012-06-09 Thread Tilen Majerle
if i understand you good you need to translate large part of files... use Poedit program and use this tutorial to set up for searching in files http://planetcakephp.org/aggregator/items/2411-internationalization-and-localization-in-cakephp -- Lep pozdrav, Tilen Majerle http://majerle.eu

Re: Manage large multilingual project

2012-06-09 Thread stork
Workflow is simple. 1. use I18n shell to generate .pot template from sources http://book.cakephp.org/2.0/en/console-and-shells/i18n-shell.html 2. copy .pot file to .po files into lang-specific subdirectories and use Poedit - tell it which .pot and .po files belongs together 3. translate msgstr

Re: How to protect a view with htaccess and htpasswd?

2012-06-09 Thread lowpass
Putting htaccess in the view folder won't work because Apache isn't serving anything from there. The view files are opened by Cake, not sent to the user's browser. If you can type in the path to a view .ctp and see it in your browser somehow your setup is beyond broken. It's just for internal

Re: После обновления с 1.2.5 на 2.1.3 пропал вывод SQL запросов на каждой странице

2012-06-09 Thread Sergei
В конце шаблона default.ctp вставь: ?php echo $this-element('sql_dump'); ? On Friday, June 8, 2012 7:38:21 PM UTC+9, Виталий Цигулев wrote: debug установлен в 2 в app/config/core.php Но при загрузке любой странице SQL запросы не показываются, а раньше показывались в самом конце все