Language Characters

General discussion about AlegroCart - Post here if you can't find another suitable forum
Post Reply
klito
Posts: 3
Joined: Wed Dec 10, 2014 3:04 am

Language Characters

Post by klito » Thu Dec 11, 2014 3:20 am

On PHP I have charset UTF-8 and COLLATE=utf8_unicode_ci

After upload the Portuguese language I obtain this results:

instead á a black � with ? inside
instead ç a black � with ? inside
etc.etc. ... No accents or letters ç,á,é,ó,ã,õ,ê

Please could you help me?.
Thanks in advance
António

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Language Characters

Post by leo » Thu Dec 11, 2014 4:19 am

Where is this language pack from?
You have translated the files?
Check the character coding of these files as well. Should be UTF-8.

klito
Posts: 3
Joined: Wed Dec 10, 2014 3:04 am

Re: Language Characters

Post by klito » Thu Dec 11, 2014 4:49 am

I translate the files from english but I change the locale to:
// Locale

$_['code'] = 'pt';

$_['charset'] = 'utf-8';

$_['direction'] = 'ltr';

$_['locale'] = 'pt_PT.UTF-8,pt_PT,portugues';

$_['date_format_short'] = 'F j, Y';

$_['date_format_long'] = 'l, F jS, Y';

$_['time_format'] = 'h:i:s A';

$_['decimal_point'] = '.';

$_['thousand_point'] = ',';

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Language Characters

Post by leo » Thu Dec 11, 2014 5:19 am

open the file with notepad++ (do not use e.g. Microsoft word).

Code: Select all

http://www.notepad-plus-plus.org/
When you save your translated file set encoding to UTF-8.

klito
Posts: 3
Joined: Wed Dec 10, 2014 3:04 am

Re: Language Characters

Post by klito » Thu Dec 11, 2014 10:32 am

All ok. Thanks for our kind attention.
All good to you...

Post Reply