I've been having issues with galleries(folders) containing Russian letters.
I've fixed the regex to allow everything but I still get weird bugs. Parts of words missing and some just get replaced with the world "galleries".
This happens when I try to sync the folders with Piwigo. The galleries themselves are directories in my linux server. Any ideas on how to fix this?
Thanks
Offline
Hello. Can you post this solution. Thanks. Sorry for bad english
Offline
Hi
could you precise what exactly is your issue? Thx
Offline
I have the same problem. I can not synchronize the physical folders(galleries) containing Russian letters.
Last edited by whitemankpi (2014-01-16 08:44:18)
Offline
Offline
If you've set a regex could we see it? If not read what mistic pointed out
Offline
Hi!
I have the same problem too. My config:
$conf['sync_chars_regex'] = '/.*/';
It work correct for latin folder names (like 'My Photo') and for some non-latin started with 'correct' symbol (like '2014 Сочи'). But folder like 'Сочи 2014' after syncing looks like ' 2014'.
PS What about enable non-latin symbols? Which browsers not support it?
Offline
Already reported in [Bugtracker] ticket 2758
Last edited by JanisV (2014-01-23 13:50:35)
Offline
My quick workaround:
With the Plugin LocalFilesEditor add this to you local configuration (first tab)
setlocale(LC_ALL, 'ru_RU.UTF-8'); setlocale(LC_NUMERIC, 'C');
Last edited by JanisV (2014-02-10 22:55:20)
Offline
Hi,
I have following folder structure under "galleries":
2015
2015.03.03 Проверка
My local config (via LocalFile Editor) looks like this:
<?php
/* The file does not exist until some information is entered
below. Once information is entered and saved, the file will be created. */
setlocale(LC_ALL, 'ru_RU.UTF-8');
setlocale(LC_NUMERIC, 'C');
$conf['sync_chars_regex'] = '/^.*/';
?>
When I try to synchronize those albums, sync tool tells me only this: [./galleries/2015] added
So it does not like that "2015.03.03 Проверка" at all although sync_chars_regex should allow pretty much everything. If I have for example under 2015 folder something like "2015.03.03 test" it is recognized and synchronized.
Where the problem might be? Why cyrillic is not handled properly in this case?
My setup:
Piwigo 2.7.4
Windows 7
Apache 2.2
PHP 5.3.6