AbanteCart Community

AbanteCart Development => Customization help => Topic started by: DarkWarder on March 29, 2014, 10:59:03 AM

Title: Couple language file not change
Post by: DarkWarder on March 29, 2014, 10:59:03 AM
Hello, why couple language file not change UTF-8?
Title: Re: Couple language file not change
Post by: DarkWarder on March 29, 2014, 06:57:54 PM
It would be a few xml file that is not converted to UTF-8 format why?

Common:
ant.xml

desing:
layout.xml
template.xml

Report:
viewed.xml
Title: Re: Couple language file not change
Post by: eCommerce Core on March 29, 2014, 08:52:09 PM
Not sure I understand the question. What do you mean not converted to UTF-8 format ?
What are you truing to do?
What is the error?
Title: Re: Couple language file not change
Post by: DarkWarder on March 29, 2014, 09:24:47 PM
Not sure I understand the question. What do you mean not converted to UTF-8 format ?
What are you truing to do?
What is the error?

translation from English to Finnish and my language is Ää, Öö, Åå and need to file format windows and file encoding UTF-8 but couple file not encoding UTF-8.

Common folder:
file: ant.xml

desing folder:

file: layout.xml
file: template.xml

Report folder:

file: viewed.xml

and all this is admin/language folder

and no error but when i encoding UTF-8 and save and then open again that is not change, is still ansi not UTF-8
Title: Re: Couple language file not change
Post by: DarkWarder on March 31, 2014, 08:20:00 AM
Well can anybody tell me why this not change?
Title: Re: Couple language file not change
Post by: Basara on March 31, 2014, 10:06:24 AM
Well can anybody tell me why this not change?

Hello. I am not sure but if You need to change only file encoding use Notepad++ It is free and easy to use
Open your file then select in the top bar->Encoding
After you change it try to type your text
Title: Re: Couple language file not change
Post by: DarkWarder on March 31, 2014, 12:24:00 PM
Well can anybody tell me why this not change?

Hello. I am not sure but if You need to change only file encoding use Notepad++ It is free and easy to use
Open your file then select in the top bar->Encoding
After you change it try to type your text

I have tried to change it with notepad + + + not work still
and now I tried it the other phpDesinger still can not chage, all other files have not had problems with just these files does not change when the UTF-8
Title: Re: Couple language file not change
Post by: abantecart on March 31, 2014, 05:07:49 PM
How do you change?
Do you delete entries from database 'language_descriptions' and clear cache after changes?
Title: Re: Couple language file not change
Post by: DarkWarder on April 01, 2014, 04:13:01 PM
I mean when that couple file not Encoding UTF-8 my computer when i translate and try to change format windows and encoding UTF-8 and when i save and open again that file there is windows/ANSI not UTF-8.

And Abantecart not delete any language_descriptions do i need to do that then?
i check that language_descriptions but not find that phpmyadmin i find only this language_definitions
Title: Re: Couple language file not change
Post by: abantecart on April 01, 2014, 06:12:13 PM
Every time you edit the languages in XML, they will not be reflected in the system, unless you access given page first time.
XML files are loaded only first time.

To see changes after XML update you need to delete language_definitions for this section and clear the cache
Title: Re: Couple language file not change
Post by: DarkWarder on April 01, 2014, 06:30:34 PM
Every time you edit the languages in XML, they will not be reflected in the system, unless you access given page first time.
XML files are loaded only first time.

To see changes after XML update you need to delete language_definitions for this section and clear the cache

okay but what about that
Common folder:
file: ant.xml

desing folder:

file: layout.xml
file: template.xml

Report folder:

file: viewed.xml


and what is that tranfer is that Auto or Binary? i mean FTP tranfer
Title: Re: Couple language file not change
Post by: DarkWarder on April 04, 2014, 06:15:08 PM
well nobody know why this not change?
Title: Re: Couple language file not change
Post by: gordontaylor on April 05, 2014, 12:51:34 AM
xml documents are normally only loaded once. Clear your cache and try it again. Not sure this will do the trick, but it worked for me.
Title: Re: Couple language file not change
Post by: DarkWarder on April 05, 2014, 04:31:45 AM
xml documents are normally only loaded once. Clear your cache and try it again. Not sure this will do the trick, but it worked for me.

Imean when i translate my computer that and try to change UTF-8 not site i am not send that yet ftp only when i try change that phpDesinger.
Title: Re: Couple language file not change
Post by: DarkWarder on April 23, 2014, 09:46:53 AM
anybody please?
Title: Re: Couple language file not change
Post by: abantecart on April 23, 2014, 12:38:58 PM
Imean when i translate my computer that and try to change UTF-8 not site i am not send that yet ftp only when i try change that phpDesinger.
I am sorry, but I do not understand what you said.
Title: Re: Couple language file not change
Post by: DarkWarder on April 23, 2014, 02:51:07 PM
Imean when i translate my computer that and try to change UTF-8 not site i am not send that yet ftp only when i try change that phpDesinger.
I am sorry, but I do not understand what you said.

I have phpDesinger 8 what i use when i translate something okay, and now is 3 file what not want change UTF-8 and i need file is windows and UTF-8 like File format windows and File encoding UTF-8
and then i save file but when i open that same file again there File format is Unix and File encoding ANSI like that was before do you understand what i mean

Common folder:
file: ant.xml

desing folder:

file: layout.xml
file: template.xml

Report folder:

file: viewed.xml
Title: Re: Couple language file not change
Post by: abantecart on April 23, 2014, 03:03:27 PM
I am sorry, I am not familiar with phpDesinger. 
You need to make sure you use the same encoding as on original AbanteCart files. Look into Russian for instance. Text is in UTF-8
Title: Re: Couple language file not change
Post by: DarkWarder on April 24, 2014, 06:53:16 AM
I am sorry, I am not familiar with phpDesinger. 
You need to make sure you use the same encoding as on original AbanteCart files. Look into Russian for instance. Text is in UTF-8

I use orginal abanteCart files and that same hapent if i use notebad too and i translate english language for finnish
Title: Re: Couple language file not change
Post by: Basara on April 24, 2014, 07:05:30 AM
I mean when that couple file not Encoding UTF-8 my computer when i translate and try to change format windows and encoding UTF-8 and when i save and open again that file there is windows/ANSI not UTF-8.

And Abantecart not delete any language_descriptions do i need to do that then?
i check that language_descriptions but not find that phpmyadmin i find only this language_definitions

Maybe you editor use incorrect encoding by default. Also there is possible issues if you edit in windows and then upload to Linux (a lot of hosting providers use Linux) see http://stackoverflow.com/questions/2466728/windows-to-linux-utf-8-file

Try to play with encoding settings in different editors like Notepad++ or Adobe Dreamweawer.
Please note after you change encoding write something in your language then save. Also try to use Built-in text editor in hosting cpanel

One more thing - sometimes php - UTF-8 works on hosting A but not on hosting B  :-\ So a lot of things can cause issues
Title: Re: Couple language file not change
Post by: DarkWarder on April 24, 2014, 10:57:04 AM
I mean when that couple file not Encoding UTF-8 my computer when i translate and try to change format windows and encoding UTF-8 and when i save and open again that file there is windows/ANSI not UTF-8.

And Abantecart not delete any language_descriptions do i need to do that then?
i check that language_descriptions but not find that phpmyadmin i find only this language_definitions

Maybe you editor use incorrect encoding by default. Also there is possible issues if you edit in windows and then upload to Linux (a lot of hosting providers use Linux) see http://stackoverflow.com/questions/2466728/windows-to-linux-utf-8-file

Try to play with encoding settings in different editors like Notepad++ or Adobe Dreamweawer.
Please note after you change encoding write something in your language then save. Also try to use Built-in text editor in hosting cpanel

One more thing - sometimes php - UTF-8 works on hosting A but not on hosting B  :-\ So a lot of things can cause issues

Okay, but how you how do you explain that all other files will change, but not these 3 files?