zenphoto forums » General Zenphoto Discussion

Localisation (translation) of keywords/tags

(6 posts)
  1. jackdaw

    Contributor
    Joined: May '08
    Posts: 319

    I would like to use two languages, and testing it works fine. But I can't add a translation for tags, is that right?

    Posted 1 year ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,367

    Yes, correct, tags are unique keywords different to titles and such as they are used in the url to search directly. If you neede two languages you need to use separate ones for each language. Or maybe combing them like "<lang1> <lang2" would be a solution if it is just two languages.

    Another a little inconvenient way would be to pre-/suffix tags like <tag>_lang and the build custom functions to display them according to the language currently set and remove the _lang from the tag for display.

    Tags are not translatable for overhead reasons actually.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. jackdaw

    Contributor
    Joined: May '08
    Posts: 319

    Then the most simple solution is to just use both languages/tags, like cats/katzen and houses/häuser etc. It's not too annoying for visitors I think when not using too many tags for an image.

    Posted 1 year ago #
  4. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,367

    Good, then remember to set the search options for tags to partial as it otherwise might not work as expected if searching via the search form.

    (German terms or is it in Dutch really the same?)

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  5. jackdaw

    Contributor
    Joined: May '08
    Posts: 319

    Ok, thanks for that tip! :)

    Posted 1 year ago #
  6. tunafish

    Contributor
    Joined: Jun '11
    Posts: 135

    Thanks for the tip acrylian, another mark ticked off.
    I'll be using method #2.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.