Active
Project:
Features
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2012 at 13:41 UTC
Updated:
29 Jan 2013 at 21:28 UTC
Hi,
I couldn't find the answer by searchin d.o or google but maybe there is an easy answer that anyone knows of here. My features contain t strings and I would like to include in my features several translation files for those strings.
How can I include .po files in my features?
Thanks in advance!
Comments
Comment #1
pvanerk commentedHi,
Did you already figure out how to do it? Would like to know how you fixed it.
The following post says how to include translations for modules but couldn't get it working for features though.
http://drupal.org/node/220341
Comment #2
pmunch commentedAccording to this post : http://drupal.org/node/782286#comment-3529126, basic pb seems to be that Features does not invoke locale update hook.
As patching Features module was not an option for me, I had the following workaround :
Create a my_feature_i18n submodule, containing :
Then just activate module to have po files imported (didn't try, but it should work even without the install file).
@Maintainers: It would be much appreciated if the patch mentionned above (or any other solution that fixes the issue) should be applied to the next release (afaik not in the current dev version yet). Thanks !