No benefits
No, you can't benefit from caching your .mo
files to external cache like Memcached. The native gettext extension have its own caching built-in.
Due to the fact that PHP's gettext functions retrieve translation only from a .mo
file, makes it impossible for PHP to get the translations from a Memcached server.
The wrong solution
The only option is to cache the strings from your .mo
file as a string array in your Memcached server, but that would make the method of getting translations slower than the native one, so there is no point in making that.
Conclusion
Use the native gettext, it has its own caching algorithms. Loading up your code with external caching classes may result in useless code, which will slow down your site performance, rather than making it faster. Moreover, you will already have lost your time writing the external caching class.