<!--
{
  "availability" : [
    "watchOS: 3.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKTextProvider/localizableTextProvider(withStringsFileTextKey:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLKTextProvider(cm)localizableTextProviderWithStringsFileTextKey:"
  },
  "title" : "localizableTextProvider(withStringsFileTextKey:)"
}
-->

# localizableTextProvider(withStringsFileTextKey:)

Creates a localizable simple text provider using the strings file key for the text.

```
class func localizableTextProvider(withStringsFileTextKey textKey: String) -> Self
```

## Parameters

`textKey`

The key for the desired text. This key must appear in the localized string files named `ckcomplication.strings` in the WatchKit extension target.

## Return Value

A text provider object built from the specified arguments.

## Discussion

Use this method to create a text provider that returns localized strings.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)