Plugin i18n
#3272
Replies: 1 comment 4 replies
-
I would suggest keeping plugin files inside plugin folder. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I need to add i18n to a plugin that writes a short string in a post.
My idea is to use
gettext
.Do you think it is acceptable to use a
locale/<language>/LC_MESSAGES
structure starting from theplugins
directory?In this way any plugins can have access to .po files via the
../locale
path.Directory structure will be the following:
plugins/locale/it/LC_MESSAGES/<plugin_name>.po
etc.Thank you,
Maurizio
Beta Was this translation helpful? Give feedback.
All reactions