I have started trying to build a site with multiple languages available. One of my plugins uses $entry = \Statamic\API\Entry::whereUri($uri); to pull some additional data related to the current content. However, on the localized URIs this doesn't seem to work. I'm not sure if I'm using it correctly, or it just isn't supported yet.

For example, the URI is /fr/alcohol-addiction and I have set up the folders and settings correctly for it (I think) but the plugin returns an error because it can't find anything related to that piece of content.