Title: Translate navigation text
Last modified: August 21, 2016

---

# Translate navigation text

 *  Resolved [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/)
 * Maybe you can add function to change language of the buttons:
    1. Previous
    2. Next Image
    3. (1 of 9)
 * In Dutch that would be:
    1. Vorige
    2. Volgende afbeelding
    3. (1 van 9)
 * [https://wordpress.org/plugins/jsj-gallery-slideshow/](https://wordpress.org/plugins/jsj-gallery-slideshow/)

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

 *  Thread Starter [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672138)
 * I did some eddits to the jsj-gallery-slideshow/jsj-gallery-slideshow.php file.
   Changed:
 *     ```
       // Start Navigation
       			$output .= "<div class='gallery-navigation'>";
       				$output .= "<a id='galleryPrev-{$instance}' class='gallery-prev gallery-button' href='#'>" . __( 'Previous', 'jsj-gallery-slideshow' ) . "</a>";
       				$output .= " / <a id='galleryNext-{$instance}' class='gallery-next gallery-button' href='#'>" . __( 'Next Image', 'jsj-gallery-slideshow' ) . "</a>";
       				$output .= " <span id='galleryNumbering-{$instance}' class='gallery-numbering'></span>";
       			$output .= "</div>"; // Finish Navigation
       ```
   
 * Into:
 *     ```
       // Start Navigation
       			$output .= "<div class='gallery-navigation'>";
       				$output .= "<a id='galleryPrev-{$instance}' class='gallery-prev gallery-button' href='#'>" . __( 'Vorige', 'jsj-gallery-slideshow' ) . "</a>";
       				$output .= " / <a id='galleryNext-{$instance}' class='gallery-next gallery-button' href='#'>" . __( 'Volgende afbeelding', 'jsj-gallery-slideshow' ) . "</a>";
       				$output .= " <span id='galleryNumbering-{$instance}' class='gallery-numbering'></span>";
       			$output .= "</div>"; // Finish Navigation
       ```
   
 * **Previous** and **next image** to **vorige** and **volgende afbeelding**
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672161)
 * Hey datiswous,
 * This will definitely work, but an even better way is to create a translation 
   file for it.
 * If you go to the plugin and open the languages/jsj-gallery-slideshow.pot file
   with something like POEdit [http://www.poedit.net/download.php](http://www.poedit.net/download.php),
   you can create a translation for the plugin.
 * Keep in mind that this has field for all text in the plugin and it’s totally 
   fine if you don’t complete every single field, but if you don translate part 
   of the plugin into Dutch ( I think ), then we could actually include it as part
   of the plugin and could solve this problem for all Dutch speakers.
 * Again, if you only want to translate some fields (especially those in the frontend
   of the site), that would already be helpful.
 * If you’re up for doing this send me an email at jorge.silva @ thejsj . com
 * J.
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672162)
 * Also keep in mind that you might lose these changes when you update your plugin…
 *  Thread Starter [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672163)
 * Thanks, didn’t know. Should have looked for translation files..
 * I’m going to look into it, try to translate it. If I come up with something useful,
   I will contact you.
 * About your last comment: everything, like changes to css and other files are 
   overwritten when I install a new version. Is it possible to include a custom-
   file? Like custom.css for the custom css changes. Or is this already possible?
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672183)
 * Sounds good!
 * If you want to customize CSS, you should probably do it in your theme. For most
   cases, that is better since those CSS changes are related to they way in which
   your theme interacts with the plugin. In my opinion, theme css should be more
   customized/specific than plugin CSS. Same goes for CSS when possible.
 * Let me know if this works!
 *  Thread Starter [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672206)
 * Can you make two translation files? One for frontend and one for backend?
 * translation of the back-end is not importend for me (and I think most Dutch people
   because their English is generally good).
 * But for the translation on the front-end, it is important.
 * Or if not, put some text in the pot files to seperate front-end and back-end 
   sections.
 *  Thread Starter [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672207)
 * Also:
 * What line in the translation file is for translating: (1 of 10)
 * In Dutch that has to be: (1 van 10)
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672211)
 * Just have one translation file and translate what you can/want. I can only use
   one translation file for the whole thing and having multiple translation files
   would be a mess.
 * A little translation is better than no translation, so don’t worry if you don’t
   translate the whole thing. Besides, this might help for the next person to come
   along and translate the rest.
 * Also, I just pushed a new version of the plugin (1.2.6) that DOES have ‘of’ as
   a translation string. Update your plugin and see if it works for you.
 *  Thread Starter [datiswous](https://wordpress.org/support/users/datiswous/)
 * (@datiswous)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672213)
 * Thanks.
 * Ok I will start to translate the frontend part of the language file (probably
   3 strings), then try to do some of the rest.
 * It might be nice if people can set the language in the plugin, instead only for
   whole the site.
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672214)
 * From a programming perspective, I think it would be a really bad idea to make
   this part of this specific plugin, because WordPress already has way to handle
   all that. Better to let WordPress handle it, so that it’s more maintainable and
   easier for users.
 * There’s thread about this kind of stuff in the web:
 * [http://wordpress.org/support/topic/wordpress-languages-front-end-french-back-end-dashboard-english?replies=7](http://wordpress.org/support/topic/wordpress-languages-front-end-french-back-end-dashboard-english?replies=7)
 * [http://blog.christosoft.de/2012/02/wordpress-frontend-and-backend-in-different-language/](http://blog.christosoft.de/2012/02/wordpress-frontend-and-backend-in-different-language/)
 * [http://stackoverflow.com/questions/3045744/single-backend-language-or-different-frontend-language-in-wordpress](http://stackoverflow.com/questions/3045744/single-backend-language-or-different-frontend-language-in-wordpress)
 *  Plugin Author [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * (@jorgesilva-1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672215)
 * Let me know how the translation goes!

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

The topic ‘Translate navigation text’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jsj-gallery-slideshow_dcdcdb.svg)
 * [JSJ Gallery Slideshow](https://wordpress.org/plugins/jsj-gallery-slideshow/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jsj-gallery-slideshow/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jsj-gallery-slideshow/)
 * [Active Topics](https://wordpress.org/support/plugin/jsj-gallery-slideshow/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jsj-gallery-slideshow/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jsj-gallery-slideshow/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Jorge Silva-Jetter](https://wordpress.org/support/users/jorgesilva-1/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/translate-navigation-text/#post-4672215)
 * Status: resolved