Creating new album in different language

Iam trying to create an album in Hebrew, it's created successfully but the folder created with the name -- or ----, so it gives me to create no more than 2-3 albums

Comments

  • Probably an issue with the characterset either of your server's file system or PHP. Hard to say exactly.

    Can you create the albums by FTP?
  • Yes I can, also when I create album in enlglish or Russian its creates folder in English, but when iam trying to create the album in Hebrew it's doesnt translate it in English character folder
  • Sorry, I do not understand what you are saying.

    If you use FTP to create the folder, Zenphoto is not at all involved, just your FTP client and server file system. So if the folder names are not right there, you will need to investigate the issue with your service provider. Zenphoto does not change folder names. So if they are in Hebrew, they would stay that way.

    Zenphoto does make titles "SEO friendly" from the folder name. This is done by a plugin named `filter_zenphoto_seo`. If your problem is that the hebrew characters of the folder names are not being change in the title then most likely they are not "listed" in the translation set of this plugin. In that case, the plugin would need to be extended to handle them.

    If you wish to extend it for Hebrew (assuming that is the issue) we can try to incorporate your changes into the released produce. Alternatively you could have a separate plugin that does correctly handle these characters for you.
  • Thank you very much for so quick reply, indeed I added Hebrew characters to this plugin and it's working now as expected ,
    Cheers
  • acrylian Administrator, Developer
    Please open a ticket and attach the changed plugin to it so that other users benefit from that as well.
  • to add a hebrew support.you have insert in filter-zenphoto_seo.php these lines

    "א"=>"A",
    "ב"=>"B",
    "×’"=>"G",
    "ד"=>"D",
    "×”"=>"Ha",
    "ו"=>"V",
    "×–"=>"Z",
    "×—"=>"H",
    "ט"=>"T",
    "×™"=>"I",
    "×›"=>"K",
    "ך"=>"H",
    "ל"=>"L",
    "מ"=>"M",
    "ם"=>"M",
    "× "=>"N",
    "ן"=>"N",
    "ס"=>"S",
    "פ"=>"P",
    "×£"=>"F",
    "ק"=>"K",
    "ר"=>"R",
    "ש"=>"SH",
    "×¢"=>"O",
    "צ"=>"TZ",
    "×¥"=>"TZ",
  • acrylian Administrator, Developer
    Again, please provide the modified file attached to a ticket. Pasting from the forum is most likely to cause char encoding errors and second it is for our convenience since you already added it...
Sign In or Register to comment.