# Find() page in specific language

**URL:** <https://forum.getkirby.com/t/find-page-in-specific-language/434>\
**Category:** Questions\
**Tags:** v2\
**Created:** [March 13, 2015, 12:07pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434 "2015-03-13T12:07:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabianSperrle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/fabiansperrle/32/5426_2.png) [@FabianSperrle](https://forum.getkirby.com/u/FabianSperrle)\
**Post date:** [March 13, 2015, 12:07pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/1 "2015-03-13T12:07:00Z")

</div>

I have a page that I only use to store info for a plugin (simple stats tool) in. Currently there are as many data files in that page as I have languages set up. While this might make for an interesting feature in my case, I would still like to have the combined data.

Is there a way to get a specific version of a page? Im thinking something like

```
$site->pages()->find('mypage', 'en') // This would be intuitiv I think but is taken by the collection API
$site->pages('en')->find('mypage') // So maybe like that?

```

If not, can I get the content in all languages somehow? Then I could merge the data myself…

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 13, 2015, 12:27pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/2 "2015-03-13T12:27:35Z")

</div>

How about using `$page->language()` with a conditional statement?

---

<div class="post-metadata">

**Author:** ![FabianSperrle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/fabiansperrle/32/5426_2.png) [@FabianSperrle](https://forum.getkirby.com/u/FabianSperrle)\
**Post date:** [March 13, 2015, 12:41pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/3 "2015-03-13T12:41:37Z")

</div>

I can’t seem to find any documentation on it - what does that return?  
In my case `echo` printed nothing and did not complain about not being able to convert anything to string…

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [March 13, 2015, 12:50pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/4 "2015-03-13T12:50:00Z")

</div>

You can use

```php
$site->pages()->find('mypage')->content('en');

```

even shorter:

```php
page('mypage')->content('en');

```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 13, 2015, 12:58pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/5 "2015-03-13T12:58:04Z")

</div>

`$page-\>language()’ returns the language code for the current page, e.g. “de”. But of course this nice hidden feature @bastianallgeier just revealed is more useful:)

---

<div class="post-metadata">

**Author:** ![FabianSperrle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/fabiansperrle/32/5426_2.png) [@FabianSperrle](https://forum.getkirby.com/u/FabianSperrle)\
**Post date:** [March 13, 2015, 1:08pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/6 "2015-03-13T13:08:23Z")

</div>

Awesome! Did I mention I love the new forum and the support here? 😄

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:17pm UTC](https://forum.getkirby.com/t/find-page-in-specific-language/434/7 "2025-02-06T17:17:38Z")

</div>


