androbey

Translatable image tags

Recommended Posts

I think it would be a great advantage for images to have an option to translate image tags, alongside the translatable description field (when using PWs language feature at all). 

This feature could improve the multi language support in ProcessWire even further, thus the usability of it. 

As a side effect that would also mean, that image tags could be easily used with the search engine, when dealing with a lot of images. 

 

Share this post


Link to post
Share on other sites

hi androbey, welcome to the forum.

you might already have an option for what you want:

  1. http://processwire.com/api/multi-language-support/multi-language-fields/#language-alternate-fields 
    this would mean you also get different images for different languages, meaning more storage needed but also the option of different images in different languages
  2. https://github.com/adrianbj/AutoImagePages
    https://processwire.com/talk/topic/8698-creating-page-for-every-image-uploaded
    this creates a page for every uploaded image meaning you could have 1 image but multiple tags with a regular multilanguage-textfield

 

Share this post


Link to post
Share on other sites

Hi bernhard,

thank you for your tips. You're right, using a workaround I could nearly get the desired outcome. 

However, I would say that both solutions come with a huge downside (uploading more images than necessary..) . 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By androbey
      Hello there,

      I was wondering if it's possible to somehow translate image tags. 

      Right now I have a page which outputs all images related to one tag in a single container (as there are many tags this results in various containers).

      Every container has a title (and id) with the tag string, but currently only in the language of the entered tags.

      Using the PW format inside the code like this does, of course, not work.. 
      _x($variable,'translated Tag') Is there a way to achieve this, without using workarounds (like extra fields)? 

      Cheers,
      Andreas