Author Topic: Changing the language  (Read 9025 times)

Yok3r

  • Newbie
  • *
  • Posts: 8
    • View Profile
Changing the language
« on: September 14, 2008, 03:49:28 pm »
I open the file config.php and change:
Quote
  define('DEFAULT_LOCALIZATION', 'en_us');
To:
Quote
  define('DEFAULT_LOCALIZATION', 'es_uy');

The webpage dont work correctly, only work the initial page (login)

How can i fix it?

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Changing the language
« Reply #1 on: September 14, 2008, 06:07:00 pm »
Could you be a little bit more specific?
Try to set debug mode to true (in the same config file), and share log.php with us (it is in the cache folder).
Thanks,
Marcos

Yok3r

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Changing the language
« Reply #2 on: September 15, 2008, 09:58:42 am »
Log.php

Quote
<?php die(); ?>
Session "default" started at 2008-09-15T12:56:58+0000
#1 ERROR: Error: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\language\es_uy\emails.php:1) in 'C:\xampp\htdocs\environment\classes\Cookie.class.php' on line 42 (error code: 2)
#2 ERROR: Error: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\language\es_uy\emails.php:1) in 'C:\xampp\htdocs\environment\classes\Cookie.class.php' on line 42 (error code: 2)
#3 ERROR: Error: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\language\es_uy\emails.php:1) in 'C:\xampp\htdocs\environment\classes\Cookie.class.php' on line 42 (error code: 2)
#4 ERROR: Error: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\language\es_uy\emails.php:1) in 'C:\xampp\htdocs\environment\functions\general.php' on line 351 (error code: 2)
Time since start: 0.394680976868 seconds
-------------------------------------------------------------------------------

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Changing the language
« Reply #3 on: September 15, 2008, 12:17:22 pm »
I would love to help but cannot reproduce the error.
Could you be more specific.
Have you changed anything else?
Can you log in to the system?
Where does it crash? Any error message?
Thanks,
Marcos

Yok3r

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Changing the language
« Reply #4 on: September 15, 2008, 01:05:42 pm »
I'm install the opengoo and later i'm go to  "config.php"
and change:
Quote
  define('DEFAULT_LOCALIZATION', 'en_us');
to
Quote
  define('DEFAULT_LOCALIZATION', 'es_uy');

NOTE
--------
When i change the file "emails.php" (spanish version) to "emails.php" (english version) all work correctly, i think the error is in spanish version of  "emails.php".

All openGoo run correctly in spanish with "emails.php" in english version.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Changing the language
« Reply #5 on: September 15, 2008, 04:09:55 pm »
Hmmm,
there must be an invalid character in emails.php.
Thank you for the report.
Marcos

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Changing the language
« Reply #6 on: September 16, 2008, 10:45:14 am »
Try copying and pasting the spanish content of emails.php into the English file you have copied into the folder es_uy.
This is:
1.- Unzip the OpenGoo installation in a temporary folder
2.- Find and open emails.php in es_uy folder (in the recently extracted folder)
3.- Copy the contents to the clipboard
4.- Open emails.php int the es_uy folder in the OpenGoo working installation
5.- Paste from clipboard, replacing current content
6.- Save
7.- delete temporary OpenGoo installer

It is not the ideal solution, but it should solve the encoding problem.
Marcos
PS: Let us know if it works