One year later and I have this exactly problem.
Messages in __("English") are translated as expected in WAMP development
environment. But not in Fedora FC21 Linux Using same apache+php versions...
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/
In what language are the messages inside __('...') ?
On Tuesday, December 29, 2015 at 11:46:31 AM UTC+1, Alysson Azevedo wrote:
>
> In my development environment the I18n works fine, i can set the locale
> with both ini_set('intl.default_locale', 'pt_BR') a
In my development environment the I18n works fine, i can set the locale
with both ini_set('intl.default_locale', 'pt_BR') and I18n::locale('pt_BR').
But on my server nothing seems to work.
Permissions are fine, cakephp can read the src/Locale files and write cache
Hi everyone
After I upgraded my test server from Debian Wheezy (PHP 5.4) to Jessie (PHP
5.6.7-1) I can no longer run my i18n shell.
The error I am getting is :
Error: Class FMFile does not exist
#0 /var/www/hermonax/lib/Cake/Console/Command/Task/ExtractTask.php(498):
ReflectionClass
OK, But what if you first time create post?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving ema
How about: "Your changes have been saved." and "There was an error saving
your changes."
On Saturday, April 4, 2015 at 5:44:09 AM UTC-4, Salines wrote:
>
> Hi,
>
> as a person who works mostly non-English web applications, usually
> frustrating me bake generated flash messages, where each mode
Hi,
as a person who works mostly non-English web applications, usually
frustrating me bake generated flash messages, where each model has its own
success and error messages. If you build an application with dozens of
models, the process of translation is time-consuming, repetitive sentences
wh
I see you got the answer in another thread, so ignore my previous post :)
Enjoy, John
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscr
-beta3 version.
> I get "*Fatal error*: Class 'Locale' not found in
> *\cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php* on line
> *229*when I attempt to access http://localhost/cakephp-3.0.0-beta3
>
> Can anyone give me some simple instructions as to how
I am a novice cakephp user who just downloaded the 3.0.0-beta3 version.
I get "*Fatal error*: Class 'Locale' not found in
*\cakephp-3.0.0-beta3\vendor\cakephp\cakephp\src\I18n\I18n.php* on line
*229*when I attempt to access http://localhost/cakephp-3.0.0-beta3
Can anyone give
e this. What Cake version are you using?
>
> On Monday, October 20, 2014 8:56:39 AM UTC+2, Lucky1968 wrote:
>>
>> Hi,
>>
>> Is there anyone who can help me with this?
>>
>> Thanx.
>>
>> On Wednesday, October 1, 2014 9
this?
>>
>> Thanx.
>>
>>> On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote:
>>> Hi,
>>>
>>> I'm using i18n in my application and it seems that in certain views I can
>>> use $array['translated_field'] as i
First time I see this. What Cake version are you using?
On Monday, October 20, 2014 8:56:39 AM UTC+2, Lucky1968 wrote:
>
> Hi,
>
> Is there anyone who can help me with this?
>
> Thanx.
>
> On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote:
>>
>
Hi,
Is there anyone who can help me with this?
Thanx.
On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote:
>
> Hi,
>
> I'm using i18n in my application and it seems that in certain views I can
> use $array['translated_field'] as in other v
UPDATE: I also have to use $array[0]['Model__i18n_translated_field'] in
normal (not forms) view files.
On Wednesday, October 1, 2014 9:32:05 AM UTC+2, Lucky1968 wrote:
>
> Hi,
>
> I'm using i18n in my application and it seems that in certain views I can
> use $a
Hi,
I'm using i18n in my application and it seems that in certain views I can
use $array['translated_field'] as in other views I need to use
$array[0]['Model__i18n_translated_field'] to get the same information
coming from the same find in the same model.
Can anyone t
On Wed, Oct 1, 2014 at 12:07 PM, Lucky1968 wrote:
>
>
> I suggest you use your solution c), so make everything in English by __()
> and do the translation when your application is ready by extracting the
> .pot files. Extremely easy.
>
Yep! +1 to the above suggestion
.
llow cakePHP conventions, so my database tables and fields have
> english names, as it so for cake's default error messages. I am building a
> webapp for a Hungarian client. I would like to use i18n as I think later
> the client will need internationalizing and localizing. But for
bel
property, and than use __() method and translate.
But I am not sure how should I do the translation. i18n shell will
automatically extratct coloumn names also?
2. I added a menu to my default.ctp with a lot of links in an unordered
list. Links are in Hungarian as the current request from the client is
H
ault error messages. I am building a
> webapp for a Hungarian client. I would like to use i18n as I think later
> the client will need internationalizing and localizing. But for now they do
> not need it.
>
> So I do not want to create all my view files strings in English and than
>
Hi,
I follow cakePHP conventions, so my database tables and fields have english
names, as it so for cake's default error messages. I am building a webapp
for a Hungarian client. I would like to use i18n as I think later the
client will need internationalizing and localizing. But for now
gt; } else {
>$optionslist = $modelObj->find('list');
> }
> $options = '';
> foreach($optionslist as $key => $value) {
>$options .= '' . $value .
> '';
&g
{
$options .= '' . $value .
'';
}
echo $options;
This worked fine in my 1 language site but after changing to i18n the
$value only holds the TREE_SPACER_ADMIN_LISTING without the
actual $displayField value.
When used in combination with a NON-TREE-obj
I'm trying to generate the pot files from my site with cake's i18n shell
useing cake 2.3. As mentioned in the cake docs the shell should
automatically extract the validation msgs. However, none of the validation
strings are added to my pot files.
My validation array simply looks lik
Sorry, a little typo in my example:
$conditions = array('OR' => array( 'I18n__title.content LIKE' =>
'%'.$searchKey.'%'));
should be
$conditions = array('OR' => array( I18n__titleTranslation LIKE' =>
'%'.$searchKey.'%'));
That doesn't change the outcome though..
On Tuesday, September 10,
Why is this no working (throws a column not found) :
$conditions = array('OR' => array( 'I18n__title.content LIKE' =>
'%'.$searchKey.'%'));
$this->paginate = array(
'conditions' => $conditions
);
$results = $this->paginate();
*Error: * SQLSTATE[42S22
Hi there,
Im trying to set up a search function for a multilingual website. I'm using
cake's (2.2) translation behavior and my translated fields are saved in a
separate table (for example: I18n__titleTranslation)
Now i would like to search these records and their translations but the
only way
Hi Kicaj and thanks for your post, I stumbled upon it before to start the
internationalization of project.
It was helpful but my main problem is that I can't save data with
validation, I have to turn them off on my save($data,false) and I can't
figure why it won't work!
--
Like Us on FaceBook
view admin_edit.ctp.
>
> Using the console, I've created the i18n table by hitting the command >
> cake i18n.
>
> Following are my files:
>
> *bootstrap.php*
>
> Configure::write('Config.languages', array('fra','eng'));
> Config
oller.php and a view admin_edit.ctp.
Using the console, I've created the i18n table by hitting the command >
cake i18n.
Following are my files:
*bootstrap.php*
Configure::write('Config.languages', array('fra','eng'));
Configure::write('Config.language
why not just use https://github.com/cakephp/localized#po-files
AD
On Sunday, 9 December 2012 20:50:15 UTC+1, Cyrille Faucheux wrote:
>
> That's also what I thought.
>
> Which is the reason why I can't see why I cannot extract in one operation
> every messages that may be displayed by my app: the
That's also what I thought.
Which is the reason why I can't see why I cannot extract in one operation
every messages that may be displayed by my app: the core messages (like you
said, the times/dates stuff), my app messages (from my views,
controllers...) and the model validation messages.
I'v
@cricket
I think you messed sth up earlier.
the dev messages (domain dev) are the ones not public.
the normal core messages will very much end up in the frontend (being
times/dates for examples or other global stuff)
its just that they do not change that often - compared to the app ones.
Am S
On Sat, Dec 8, 2012 at 5:10 AM, Cyrille Faucheux
wrote:
> Yes, using version control is a solution, just as saving and replacing some
> files, but I don't like this solution, because it requires a manual
> intervention.
>
> What do you mean by "nothing will get done" ? That "it's working the way
>
t;>
> >>
> >> Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille
> Faucheux:
> >>>
> >>> Hi everyone,
> >>>
> >>> I'm trying to internationalize an application, and I face some
> problems
> >&g
Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille Faucheux:
>>>
>>> Hi everyone,
>>>
>>> I'm trying to internationalize an application, and I face some problems
>>> with the I18N shell when extracting messages.
>>>
>>> When
nce for the core and once for the app?
>
>
> Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille Faucheux:
>>
>> Hi everyone,
>>
>> I'm trying to internationalize an application, and I face some problems
>> with the I18N shell when extractin
why not running it twice? once for the core and once for the app?
Am Donnerstag, 6. Dezember 2012 09:24:25 UTC+1 schrieb Cyrille Faucheux:
>
> Hi everyone,
>
> I'm trying to internationalize an application, and I face some problems
> with the I18N shell when extracting mess
Hi everyone,
I'm trying to internationalize an application, and I face some problems
with the I18N shell when extracting messages.
When I run the extract task (cake.bat i18n extract), I'm asked whether I
want to extract messages from the Cake core, which is what I want since
the
Hi.
I have model "I18n" which stores turkish and english language content of
different fileds.
I have another model called "CompetitionAwards" which have title fields in
turky and english language.
The title field is stored in i18n table in both language perfectly.
Now my pr
On 8 Nov, 19:54, AD7six wrote:
> Looks like you have a file named Model/User.php - which doesn't contain a
> class named User
Fixed!
Thanks
Tom
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are s
Looks like you have a file named Model/User.php - which doesn't contain a
class named User
AD
On Tuesday, 6 November 2012 11:44:32 UTC+1, Tommaso wrote:
>
> Hello,
>
> I'm trying to use the "cake i18n extract" shell in cakephp 2.2.2 and
> 2.2.3 but I'v
Hello,
I'm trying to use the "cake i18n extract" shell in cakephp 2.2.2 and
2.2.3 but I've got a problem.
After answered the questions the process starts with the message:
=
Extracting...
---
Paths:
/Users
the previous version, everthing went well.
>
> but hej, thank you for searching.
>
> Patrick.
>
> Op dinsdag 25 september 2012 16:46:03 UTC+2 schreef Dr. Drijk het volgende:
>
>> maybe a silly question, but anyway.
>>
>> I'm using the i18n plugin, copied i
estion, but anyway.
>
> I'm using the i18n plugin, copied into the plugin folder.
> I use an element which creates the heading for each page. In this element
> i use the switchFlag function of the pluging:
>
> " $this->Html->image('printer-icoon.gif
here's my shell ouput
MachineName:app username$ ./Console/cake i18n extract -v
--validation-domain validation
Welcome to CakePHP v2.0.4 Console
---
App : app
Path: /Users/username/Sites/projec
Hi, I've used the i18n shell before (with cake 1.3) and it worked for me.
Now on 2.0.4 and 2.0.6 it just won't generate the pot files.
No error messages, no strange logs, nothing. Any ideas? Thanks
ps. also posted this question
at http://ask.cakephp.org/ques
maybe a silly question, but anyway.
I'm using the i18n plugin, copied into the plugin folder.
I use an element which creates the heading for each page. In this element i
use the switchFlag function of the pluging:
"Html->image('printer-icoon.gif',array('alt
hi
i want to add a multiple lines (ita & eng) in i18n for one record in jewel
so i add a afterSave in model
cause i want to add multiple lines only for a new record and not for a
modify one
i add this
public function afterSave($created) {
if ($created) {
if (isset ($this->data['
Hello.
I'm building an multilingual website in CakePHP 2.0.5 with the use of
I18n.
My question is: how can I define (in model class) validation rules, so
they apply to specified language version (locale)?
I have an i18n table, "languages" table (id,code), "subpages"
also i use
$model->data[$model->alias]['title'] = $title;
to set the title field
On Dec 28, 8:39 pm, Constantin FF wrote:
> absolutely the same result after adding
> $model->set(array('title' => $title, 'body' => $title));
> at the end of beforeSave
--
Our newest site for the community:
absolutely the same result after adding
$model->set(array('title' => $title, 'body' => $title));
at the end of beforeSave
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
title of the post. I am
>> using this for attachments to set title, slug, create thumbs and so
>> on ..
>>
>> With the testing till now these are the results: Set title inside:
>> -Behavior beforeSave - does not save inside i18n table
>> -Model bofereSave - does not
d so
> on ..
>
> With the testing till now these are the results: Set title inside:
> -Behavior beforeSave - does not save inside i18n table
> -Model bofereSave - does not save inside i18n table
> -Controller before $this->Attachment->save($this->data) - Working!
>
> Wha
I am using Behavior which beforeSave sets the title of the post. I am
using this for attachments to set title, slug, create thumbs and so
on ..
With the testing till now these are the results: Set title inside:
-Behavior beforeSave - does not save inside i18n table
-Model bofereSave - does not
app/Plugin//Locale/eng/LC_MESSAGES/.po
On Dec 19, 10:20 am, Cayetano Soriano wrote:
> Hi i used the console, for extract .po, from plugin, the problem, is
> that I create a directory in my app/Plugins// called
> Locale, and copy my .po, but it doesn't work, in app/Locale , it works
> perfectly,
Hi i used the console, for extract .po, from plugin, the problem, is
that I create a directory in my app/Plugins// called
Locale, and copy my .po, but it doesn't work, in app/Locale , it works
perfectly, how i can put that in my plugin/ directory
Thank's a lot
--
Our newest site for the communi
ndré Fischer wrote:
>
>
>
>
>
>
>
> > I created a database that uses UUIDs exclusively for all id fields.
> > When I use cake i18n to initialise the table in the database to make
> > various models translatable, it creates an id fiend as INT instead of
>
my guess:
cake doesnt support uuids for those things on "initialize"
but you could probably change the field manually to uuid afterwards
then it should work again
On 24 Okt., 09:59, André Fischer wrote:
> I created a database that uses UUIDs exclusively for all id fields.
> When
I created a database that uses UUIDs exclusively for all id fields.
When I use cake i18n to initialise the table in the database to make
various models translatable, it creates an id fiend as INT instead of
CHAR(36), which breaks the translation behaviour. Am I doing something
wrong, or is this a
Hello all,
i need help.
I had a brand model with $hasAndBelongsToMany = array('Category');
Category is a model with the translation on the field 'name'
Now depending on a category filter in a searchbox I want to identify
which brands are in the search area and which other catgeories are
assigned
avairet:
*Have you solved the problem? I am having the same thing here. The
translation is not show up. Only the original string...*
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help oth
__() wont work in a non-cake app, it's cake functionality.
__() is just a custom function cake wrote that extends their i18n
class. The i18n class deals with the loading of .po files and the
extraction of message strings using gettext (I believe).
On Aug 30, 1:09 pm, dole doug wrote:
>
hi there
I have an old webapp on which i have to add i18n support. At this
moment I've added a __() around my messages which i need to be
translated and changed in my interface.
I don't have great experience with cake or programming in OO but I'll
like to know the logic by wh
:
+ rm -rf junit.xml
+ cakerunner --cakephp-app-path=app --log-junit=junit.xml -R app/tests
PHP Fatal error: Call to undefined method I18n::translate() in /var/
lib/hudson/jobs/Zumo CMS/workspace/cake/basics.php on line 668
PHP Stack trace:
PHP 1. {main}() /usr/bin/cakerunner:0
PHP 2
Hi,
I have a new i18n string: time_zone_abbreviation. Debugging
I18n::getInstance() show's all my strings but not the latest edition.
It feels like some level caching I am missing. Though I have restarted
Apache and cleared the cache many a time.
The error appears on a CentOS 5 server i
You can use a third-party tool such as POEdit to scan your sources for i18n
strings. You can define which files to scan and what functions to search.
Cheers,
- Johan
On Tue, Jul 5, 2011 at 5:57 PM, Carlos Eduardo Sotelo Pinto <
carlos.sotelo.pi...@gmail.com> wrote:
> Hi people
>
Hi people
When I use cakephp i18n, I must wite the sentences as
Form->input('name', array(__('Un nombre', true))); ?>
Then, I must do the next lines for extract the tranlate words
$ cake i18n
e
Now, I am working with a template engine, dwoo, the main idea is avoid
Thank you Euromark, It's working now.
But now I have other trouble...
I wanna use the Translate behavior in a model... Already create the i18n
table using the console.
I added the below code at model:
public $actAs = array(
'Translate' => arr
you could have it way easier on windows
http://www.dereuromark.de/2010/10/03/console-for-cakephp/
then you only need to navigate to your app folder and enter "cake i18n
extract" etc
thats all! no path stuff
On 1 Jul., 19:57, Glauco wrote:
> Hi there, I am trying extract a .po
Hi there, I am trying extract a .po file from my application using the
command i18n extract.
When I type the command, I get a message like this (but the extracting dont
start =/):
Welcome to CakePHP v.1.3.8 Console
__
App: app
Path: c:\wamp\www
Thank you very much ;)
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/App-controller-function-to-obtain-default-pot-file-i18n-extract-tp4495820p4502131.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the community: CakePHP Video
Thank you very much.
I will try it !
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/App-controller-function-to-obtain-default-pot-file-i18n-extract-tp4495820p4502127.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the community
On Jun 18, 2011, at 12:14, krisspnet wrote:
> Well, we have different persons in charge of the translations.
> However, those persons don't know what is a terminal actually.
> Because we often add new functions and views in our website, we all also add
> new _('to be translated',true) tags in the
ated
> without asking us every time.
> In this context, they feel free to translate the last version of the
> website, when they want.
>
> I asked this question because we use
> thehttp://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
> build_acl function, which
book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs
build_acl function, which was first a shell command.
Might it be possible to run the i18n extract command in a background
terminal?
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/App-controller-function-to-obt
ork and I find it really amazing for
> those who have few knowledge of website construction.
>
> My colleagues and I are working on a project that has to be shown each month
> into different languages.
> Therefore, we have started to build a multilingual interface with cake i18n
interface with cake i18n
extract shell command.
Thanks to this page :
http://cakephp.1045679.n5.nabble.com/create-po-file-from-database-table-multilingual-l10n-I18n-td1328082.html
create-po-file-from-database-table-multilingual-l10n-I18n , we have build a
simple interface to facilitate the life
Hello,
I try to setup a multilanguge site with CakePHP and followed this tutorial.
http://nuts-and-bolts-of-cakephp.com/2008/11/28/cakephp-url-based-language-
switching-for-i18n-and-l10n-internationalization-and-localization/
I use Cake 1.3 and it doesn't work. I guess it might crash
Hey,
yeah I did exactly this, the language code will set the default
language of the app to the given code. So when poniting Google to
www.domain.com/it it should find the whole app in the italian locale
and index its content correctly. Now I'll have to wait until the Robot
comes back around to i
On Mar 22, 2011, at 09:02, DigitalDude wrote:
> when entering the url www.domain.com/it, the default language and all
> other language depending variables are set to italian. when entering
> www.domain.com/es you'll have the same behaviour for spanish. Maybe
> that will help the Google Bot indexi
Hey,
ok for now I did the following:
when entering the url www.domain.com/it, the default language and all
other language depending variables are set to italian. when entering
www.domain.com/es you'll have the same behaviour for spanish. Maybe
that will help the Google Bot indexing all other lan
On Mar 22, 2011, at 08:16, DigitalDude wrote:
> half an hour ago I implemented a redirect to a link with the language
> code based on the session language when no language code is given by
> the url. So instead of displaying the view for www.domain.com, I check
> in the controller if a language is
Hey Ryan,
half an hour ago I implemented a redirect to a link with the language
code based on the session language when no language code is given by
the url. So instead of displaying the view for www.domain.com, I check
in the controller if a language is given by a passed-argument and if
not, I r
On Mar 22, 2011, at 07:49, AD7six wrote:
> On Mar 22, 1:45 pm, DigitalDude wrote:
>> The app runs with i18n for 4 different languages. I set the language
>> per Session. First, the session language is determined by checking the
>> browsers language. if no matching language
Hey,
yeah I know the articles around i18n and the internal structure for
this is correct in my app i think, I can't find anything on how to
setup an application for correct indexing when having multiple
languages.
But maybe you know something I don't, so maybe you could give me a Ta
Hey,
I ran into a really bad problem today with one of my multilingual apps
and I have absolutely NO clue how to solve this!
First, a slight overview of how my app is structured:
The app runs with i18n for 4 different languages. I set the language
per Session. First, the session language is
On Mar 22, 1:45 pm, DigitalDude wrote:
> Hey,
>
> I ran into a really bad problem today with one of my multilingual apps
> and I have absolutely NO clue how to solve this!
>
> First, a slight overview of how my app is structured:
>
> The app runs with i18n for 4 differ
and this shell/cronjob sends
> >> weekly status reports about a users work-environment. In these emails,
> >> there is text as gettext and sometimes even i18n models with specific
> >> language-depending content.
>
> >> My problem is: How can I set a Session Langu
job sends
>> weekly status reports about a users work-environment. In these emails,
>> there is text as gettext and sometimes even i18n models with specific
>> language-depending content.
>>
>> My problem is: How can I set a Session Language or a locale for the
>>
I have a shell which is run as a cronjob, and this shell/cronjob sends
> weekly status reports about a users work-environment. In these emails,
> there is text as gettext and sometimes even i18n models with specific
> language-depending content.
>
> My problem is: How can I set
Hey,
I ran into a problem the other day, and I don't know what to do right
now.
I have a shell which is run as a cronjob, and this shell/cronjob sends
weekly status reports about a users work-environment. In these emails,
there is text as gettext and sometimes even i18n models with spe
CakePHP + i18n + MongoDB
I want to hear your experience. Example code?
How to set up? Thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
Support.id',
>'Support.name'
>));
>
>return $this->find('all', $options);
>}
> }
> ?>
>
> I've created via shell the i18n table and filled with:
> 1
I found a solution ;)
1. extra condition
function view($slug = null) {
if (!$slug) {
$this->Session->setFlash(__('Invalid category', true));
$this->redirect(array('action' => 'index'));
}
$this->Categ
yes, u want to create a fast script, but findBySlug will need to check
theree too...so its the same shit how u use :D
Pozdrav i tebi :D
--
Tilen Majerle
http://majerle.eu
2010/11/20 Salines
> Yes, I had the same idea, but I'm looking for a way without extra
> queries, for example, using condi
Yes, I had the same idea, but I'm looking for a way without extra
queries, for example, using condition for findbyslug? Is such that if
possible ..
Pozdrav u sloveniju :)
On Nov 20, 12:59 pm, Tilen Majerle wrote:
> i think...you will need to check first for slug, typed in categories_i18ns
> and
i think...you will need to check first for slug, typed in categories_i18ns
and then, if exists this slug in some language, then get his foreign_key (id
for post) and with this id get post from posts table (your posts table)
i hope u understand what i mean
--
Tilen Majerle
http://majerle.eu
2010
Hello bakers,
I developing a web page that uses three languages, one primary
(croatian) and two secondary(english & german). In my db tables
(categories) I have a field 'slug' with the corresponding data . Slug
be also translated from croatian to english & german (deutch) and
stored in i18ns table
));
$options = array
(
'fields' => array(
'Support.id',
'Support.name'
));
return $this->find('all', $
1 - 100 of 441 matches
Mail list logo