The problem was solved.
Read whole topic to get things out.
In brief: When you modify any file in UTF-8 format with Notepad and saves that file, Notepad adds so called UTF-8 signature to the beginning of the file.
That signature can be seen only in special editor!!When you upload such language files to your gallery some things will stop working, for example Batch add tool will not function correctly with thumbnails.
See the text below.This problem is very strange.
There is default language file russian.lng
When I edit it, add some new lines and upload to server, some strange thing happens.
When I open Batch page on my gallery,
(the url looks like this:
http://coppermine-gallery.net/demo/cpg14x/searchnew.php?startdir=folders/test&lang=russian )
Then I select necessary folder and press Ok.
When the page opens, the thumbnails are no showen on that page.
I see only red crosses...
See screenshot #1
But. If I press/switch to english at that moment by following the ulr:
http://coppermine-gallery.net/demo/cpg14x/searchnew.php?startdir=folders/test&lang=englishthe thumbnails are showen correct.
See screenshot #2
In other words,
if I open:
http://coppermine-gallery.net/demo/cpg14x/searchnew.php?startdir=folders/test&lang=russianI didn't see thumbs
if I open:
http://coppermine-gallery.net/demo/cpg14x/searchnew.php?startdir=folders/test&lang=englishI see thumbs
The same problem for result page...
When I switch to English language and add files I see OK signs.
When I switch to Russian language and and files I see red crosses as on screenshot #1.
If I upload russian.lng which comes in
cpg1.4.4.zip all works ok.
If I modify russian.lng and upload it - I get this strange error. But the MOST strange thing that if I remove all those lines which I have added from russian.lng , save it and upload, this BUG still exists!!!Even
Araxis Merge v6.5 showes that files are the same.
I upload modified russian.lng
P.S. The same problem with german.lng