Page 1 of 1

How to deal with customer theme translation

Posted: Sat Jan 04, 2020 3:45 pm
by Jens2014
Currently I am working on porting the libratus theme to netPhotoGraphics. Regarding the translation I need some support. As far as I understand, all the official themes are supported with the default .po files. My question is: how to deal with the user contributed ones?
Thanks in advance for your suppoert.

Re: How to deal with customer theme translation

Posted: Sat Jun 06, 2020 6:40 pm
by stephenbillard
Sorry for rmissing this post originally.

Custom themes would use the TH versions of gettext in the theme. You would then put the translation files within the theme.

Re: How to deal with customer theme translation

Posted: Mon Sep 06, 2021 10:45 pm
by stephenbillard
An update to this thread is in order.

netPhotoGraphics has changed how it deals with custom theme translations. These translations are now to be merged with the distributed translation and the result is placed in the plugins/locale folder. Please see the user guide for details.