Language file handling

A forum for discussing possible new features or changes to netPhotoGraphics. But NOTE, only a formal request via the GitHub repository ticket system is tracked or responded to.
Post Reply
stephenbillard
Site Admin
Posts: 84
Joined: Tue Aug 14, 2018 6:33 pm
Location: Huntington Beach, CA, USA

Language file handling

Post by stephenbillard »

The current development release (2.00.07.03) has provisions for placing language files into the user plugin folder locale folder (../plugins/locale,) It also deprecates the gettext_th and gettext_pl functions.

There are two purposes for these changes. First, some of the really out of date language files will be removed from the release. These files will be placed into the nPG language files repository. If in the future someone adopts one of these languages then it will be returned to the mainstream release.

The second purpose is to remove some of the issues with the theme or plugin specific translations. Simply put, if you created one of these, then the text from nPG functions did not necessarily get translated. Instead of having these files you can now merge your translations with the distributed translation file and place the result in the plugins/locale folder. It will override the distributed version of the files. (This will also improve performance of these themes/plugins since there was a lot of overhead in switching the language domain.)

I would appreciate responses back on what languages are actively being used so I can be sure not to remove any of them.
-Stephen
Post Reply