loading...

Languages

The iPress themes are fully translation ready.

Languages & Translation

Both the Standalone and the Parent/Child iPress themes contain the required localisation files for theme translation functionality. Theme files utilise the common translation functions to hook into these files, e.g. __().

The language files are located in the dedicated Languages directory of the child and standalone themes. The parent theme uses translation files with a fixed translation identity of ‘ipress’. These will be updated with new theme versions. The standalone and child themes can utilise the ready provided theme translation identities, e.g. ipress-standalone, or ipress-child, which are used throughout all the translation ready files.

Alternatively if a child or standalone theme name is changed, when for example generating a new bespoke classic theme, which is the primary purpose as a base theme, then it is also suitable to change the identity used within the translation functions, e.g. __( ‘string’, ipress-child’ ). At this time it’s not possible to use a PHP variable or constant instead of a string.

For further details see the following WordPress documentation here: WordPress Localisation

Scroll back to top