How to deal with customer theme translation

Get help and feedback for everything development and customization related
Post Reply
Jens2014
Posts: 3
Joined: Sat Jan 04, 2020 1:37 pm

How to deal with customer theme translation

Post 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.
stephenbillard
Site Admin
Posts: 84
Joined: Tue Aug 14, 2018 6:33 pm
Location: Huntington Beach, CA, USA

Re: How to deal with customer theme translation

Post 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.
-Stephen
stephenbillard
Site Admin
Posts: 84
Joined: Tue Aug 14, 2018 6:33 pm
Location: Huntington Beach, CA, USA

Re: How to deal with customer theme translation

Post 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.
-Stephen
Post Reply