Title: [Plugin: Events Manager] Attributes -&gt; as language dectector
Last modified: August 20, 2016

---

# [Plugin: Events Manager] Attributes -> as language dectector

 *  [customedia](https://wordpress.org/support/users/customedia/)
 * (@customedia)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/)
 * Hello, I would like to be able to have attributes that will let the users know
   if the event in in english or in Japanese and depending on the language an image
   would be used to replace it. I.E. If the attribute selected during the event 
   creation is english, then a small icon would appear on the fron page [E], if 
   its in Japanese [J]
 * [http://www.custom-media.com/Iba/](http://www.custom-media.com/Iba/)
    Here’s 
   my placeholder:
 *     ```
       <ul class="listTheEvents">
       <li class="upcomingTitleSidebar">#j #M #y</li>
       <li>#_CATEGORYLINK</li><li><a href="#_EVENTURL">#_NAME »</a></li>
       <li>#_ATT{language}</li>
       <li>#_ATT{FieldLabel}</li>
       </ul>
       ```
   
 * Thank you
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/#post-2292773)
 * you’d have to code that yourself somehow, or use some creative workarounds, e.
   g. you could use an image and just add the #_ATT placeholder to the image file
   name e.g.
 * `<img src="/images/flags/#_ATT{Language}.jpg" alt="#_ATT{Language}" />`
 *  Thread Starter [customedia](https://wordpress.org/support/users/customedia/)
 * (@customedia)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/#post-2292946)
 * Thx, Marcus! I fixed it by adding a new folder with the images required. I have
   another question do you know a way to shorten down the the name? (like limiting
   it to certain number of characters
 *     ```
       <ul class="listTheEvents">
       <li class="upcomingTitleSidebar">#j #M #y</li>
       <li>#_CATEGORYLINK</li><li><a href="#_EVENTURL">#_NAME »</a></li>
       <li><img src="wp-content/flags/#_ATT{Language}.png" width="12" height="11" alt="#_ATT{Language}"/></li>
       </ul>
       ```
   
 * **Output**
 * >  16 Sep 11
   >  BCP-DR-IT Security IT Solutions for BCP and Back-Up Sites (test)»(#
   > _NAME, is too long would like to make it shorter) [J]
 * You can check on the actual site to see how it looks like, and again I want to
   thank you for your support!
 * [http://www.custom-media.com/Iba/](http://www.custom-media.com/Iba/)
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/#post-2292966)
 * you can shorten the description by using the more tag (like with normal wp posts)
   and use the #_EXCERPT placeholder
 * otherwise, to shorten anything else, you need to override the placeholder, as
   in [http://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/](http://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/)
 *  Thread Starter [customedia](https://wordpress.org/support/users/customedia/)
 * (@customedia)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/#post-2293019)
 * ok I will try this out!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Events Manager] Attributes -> as language dectector’ is closed
to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [customedia](https://wordpress.org/support/users/customedia/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-events-manager-attributes-as-language-dectector/#post-2293019)
 * Status: not resolved