---
title: "pluralStringResource"
description: "Load a plurals resource."
type: "composable"
---

<div class='type'>Composable Function</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
@ReadOnlyComposable
fun pluralStringResource(@PluralsRes id: Int, count: Int): String
```


Load a plurals resource.

#### Parameters

| | |
| --- | --- |
| id | the resource identifier |
| count | the count |


#### Returns

| | |
| --- | --- |
|  | the pluralized string data associated with the resource |




<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
@ReadOnlyComposable
fun pluralStringResource(@PluralsRes id: Int, count: Int, vararg formatArgs: Any): String
```


Load a plurals resource with provided format arguments.

#### Parameters

| | |
| --- | --- |
| id | the resource identifier |
| count | the count |
| formatArgs | arguments used in the format string |


#### Returns

| | |
| --- | --- |
|  | the pluralized string data associated with the resource |





