How to translate | SP Simple Portfolio - Documentation | JoomShaper

SP Simple Portfolio

Updated Last: 13 February 2020

How to translate

SP Simple Portfolio like any other extension includes .ini files which contain all of the English terms we have used. In most cases you have to translate only those two files:

  1. language\en-GB\en-GB.com_spsimpleportfolio.ini
  2. language\en-GB\en-GB.mod_spsimpleportfolio.ini

In each of them, you will find phrases used on front-end, for example, Show all, Zoom, Watch and View.

Important component phrases:

COM_SPSIMPLEPORTFOLIO_SHOW_ALL="Show All"
 COM_SPSIMPLEPORTFOLIO_ZOOM="Zoom" 
 COM_SPSIMPLEPORTFOLIO_WATCH="Watch"
 COM_SPSIMPLEPORTFOLIO_VIEW="View"

Important module phrases:

MOD_SPSIMPLEPORTFOLIO_SHOW_ALL="Show All"
MOD_SPSIMPLEPORTFOLIO_ZOOM="Zoom"
MOD_SPSIMPLEPORTFOLIO_WATCH="Watch"
MOD_SPSIMPLEPORTFOLIO_VIEW="View"

Translate the strings to your language and save them as with native language prefix and copy to your language folder. For example:

fr-FR.com_spsimpleportfolio.ini |  ru-RU.com_spsimpleportfolio.ini
es-ES.com_spsimpleportfolio.ini | nl-NL.com_spsimpleportfolio.ini

This same for module language file: fr-FR.mod_spsimpleportfolio.ini or es-ES.mod_spsimpleportfolio.ini.

File (.ini) must be saved as UTF-8 without BOM encoding. Once the phrases inside file have been translated, copy your language files into your language directory using an FTP client.

Alternative method:

You can translate selected phrases also using the overrides feature in Joomla: Extensions > Language Manager > Overrides tab.

portfolio language override