[Gimp-developer] GIMP 2.99.12 Python User Script's Localization
- From: ShiroYuki Mot <shiroyuki mot mail gmail com>
- To: gimp-developer <gimp-developer-list gnome org>
- Subject: [Gimp-developer] GIMP 2.99.12 Python User Script's Localization
- Date: Mon, 29 Aug 2022 17:20:15 +0900
In the official page at
https://www.gimp.org/news/2022/08/27/gimp-2-99-12-released/,
You say that "with all gettext catalogs under the locale/ folder of the
plug-in directory, and named the same way as the plug-in itself".
Please teach me 'How TO do that'.
On OS, Windows, If I placed my script file
(Shiro_Dialog_Args6_Test_API3.py) at
C:\Users\UserA\AppData\Roaming\GIMP\2.99\plug-ins\Shiro_Dialog_Args6_Test_API3,
Where do I deploy .mo file?
Is it at
'C:\Users\UserA\AppData\Roaming\GIMP\2.99\plug-ins\Shiro_Dialog_Args6_Test_API3\locale'?
Or at 'C:\Users\UserA\AppData\Roaming\GIMP\2.99\plug-ins\locale'?
And one more question.
How do I write the following parts?
def do_set_i18n(self, procname):
return True, 'gimp30-python', None
(Maybe, That code means calling the official gimp30-python.mo.)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]