Localization for custom images

Hello, I'm working on a customized variation of the Zenpage theme. There's a custom header with graphic buttons to sections like Bio, Contact... and Gallery, which is a link to the Zenphoto program "part" of the website. This custom header is included (required) in each of the theme's pages.

I wonder if I can change the graphics for the section's buttons depending on the language selected. For example, if the user selects Español, the "HOME" graphic button changes to "INICIO"

Perhaps I can get (somehow?) the value of the language selected and pass it to the URL for the corresponding image, which could be stored in the locale folders?

Thanks in advance for your help!

Comments

  • acrylian Administrator, Developer
    Sure, `getUserLocale()` gets the current locale. You should not put any files in the locale folders. Store them in your theme's folder.
Sign In or Register to comment.