Now what?

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Now what?

Post by deportu »

I installed it, I think it all went ok, but I have no idea where to write the translation for each page. How exactly does this work? I already have the flags set up: http://host.felixdeportu.com/barranquit ... e&hl=en_US but I don't know what to do from here.
alby

Re: Now what?

Post by alby »

deportu wrote: I installed it, I think it all went ok, but I have no idea where to write the translation for each page. How exactly does this work? I already have the flags set up: http://host.felixdeportu.com/barranquit ... e&hl=en_US but I don't know what to do from here.
Have you follow case B of this?
I don't see work well your site

Pages are in admin area (Content -> Pages)

Attention: es_PR (Spanish Puerto Rico) don't have translation of CORE and modules, use one es_* in admin/lang or ask for translation CMSMS in es_PR

Alby
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Re: Now what?

Post by deportu »

Fine, I did everything as indicated. Even changed es_PR to es_ES.

http://ciudadbarranquitas.soulestudios.com/index.php

When I try to add the Spanish content, I can add content, but the Menu and Title disappear, every time I click Submit or Apply. Furthermore, clicking Spanish on the live site gives me a NOT FOUND error.

What did I do wrong?

BAH. Now I can't even add new content and even the english page went NOT FOUND!
Last edited by deportu on Fri Jan 18, 2008 6:33 pm, edited 1 time in total.
alby

Re: Now what?

Post by alby »

deportu wrote: Fine, I did everything as indicated. Even changed es_PR to es_ES.

http://ciudadbarranquitas.soulestudios.com/index.php

When I try to add the Spanish content, I can add content, but the Menu and Title disappear, every time I click Submit or Apply. Furthermore, clicking Spanish on the live site gives me a NOT FOUND error.

What did I do wrong?

BAH. Now I can't even add new content and even the english page went NOT FOUND!
You have some error between config_lang (block part) and DB

Match your install with Visual tutorial

Alby
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Re: Now what?

Post by deportu »

Does this look ok? I want to make sure the error isn't here:

Code: Select all

define('DEFAULT_LANG', 'es_ES');
$force_mle_default = true;

$hls = array(


 'en_US' => array(
	'block'=>'en',
	'flag'=>'<img src="images/lang/en_US.png" style="border:0" alt="English" />',
	'text'=>'English',
	'parent'=>'en',
 ),
 'es_ES' => array(
	'block'=>'es',
	'flag'=>'<img src="images/lang/es_ES.png" style="border:0" alt="Español" />',
	'text'=>'Español',
 ),


);
?>
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Re: Now what?

Post by deportu »

Ok I did it one more time and it works great! Thanks!

One question: Does this not allow translation for News?
Last edited by deportu on Fri Jan 18, 2008 9:23 pm, edited 1 time in total.
alby

Re: Now what?

Post by alby »

deportu wrote: Ok I did it one more time and it works great! Thanks!

One question: Does this not allow translation for News?
View #5 of Documentation, howto and tips, you can use News with lang categories only


For avoid W3C validation use (UTF-8 encoding) replace:
deportu wrote: 'flag'=>'',
'text'=>'Espa#00F1ol',
Alby
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Re: Now what?

Post by deportu »

So {news category="Home-$lang"} will only show News for the language that's selected?
alby

Re: Now what?

Post by alby »

deportu wrote: So {news category="Home-$lang"} will only show News for the language that's selected?
Yes, news of that category/lang. If you must create category for each lang, display news for language that user has selected

Alby
deportu
Forum Members
Forum Members
Posts: 20
Joined: Tue Nov 06, 2007 9:35 pm

Re: Now what?

Post by deportu »

Thank you alby, your MLE module is really just what I needed and you have been very helpful. :) I'll be doing that now.
Locked

Return to “[locked] CMSMS MLE fork”