**Inheritance:**
java.lang.Object, [com.aspose.imaging.xmp.types.XmpTypeBase](../../com.aspose.imaging.xmp.types/xmptypebase), [com.aspose.imaging.xmp.types.basic.XmpText](../../com.aspose.imaging.xmp.types.basic/xmptext)
```
public final class XmpLocale extends XmpText
```

Represents language code.

See IETF RFC 3066.
## Constructors

| Constructor | Description |
| --- | --- |
| [XmpLocale(String value)](#XmpLocale-java.lang.String-) | Initializes a new instance of the `XmpLocale` class. |
### XmpLocale(String value) {#XmpLocale-java.lang.String-}
```
public XmpLocale(String value)
```


Initializes a new instance of the `XmpLocale` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The value. |

