How can I get field data for the current locale in a plugin? So I have a plugin with a service. Part of the service function is to grab a field (body) from an entry object that has been passed into the function. 

&lt;?php
namespace Craft;

class MyPlugin_ExampleService extends BaseApplicationComponent {

    public function example($entry) {
        return $entry-&gt;body;
    }

}


The function will be called via Twig.

{{ craft.myPlugin.example(entry) }}


How do I go about getting the field data for the users current locale?
You're pretty close... You'll need to do this in a Variable, not a Service.

If your method already exists in a Service, or if you'll need to access it via PHP as well, then you can keep it in the Service. In that case, you'll still need a Variable method, but it can simply be a wrapper for your existing Service method.