# XLIFF 1.2
> XLIFF 1.2 file localization
URL: https://store.crowdin.com/xliff
Category: File Formats
Type: System
Author: Crowdin
XLIFF 1.2 is a natively supported file format, you can use it without an additional installation. Just upload it to your projects and start the localization.
## File Format Details
| Attribute | Value |
| --------- | ----- |
| File Extension | .xliff, .xlf |
| [API Type](https://support.crowdin.com/developer/api/v2/#operation/api.projects.files.post) | xliff |
| Source can be edited in Crowdin | Yes |
| Generating translated files via [Bundles](https://support.crowdin.com/bundles/) | [Search Crowdin Store](https://store.crowdin.com/tags/string-exporter) |
| Supports pluralization | Yes |
| WYSIWYG Preview in the editor | No |
| Supported types of contextual information | Text comments, Screenshots, In-Context |
| Custom attributes | Yes |
| Existing translations import possibility | Key-value mapping |
## Sample File
```xml
texttranslationContexttext 1translation 1Context 1text 2Context of the segment 2text 3translation 3Context 3
```
## Translating XLIFF 1.2
**Attributes**
Translation state of the string: `needs-translation`, `needs-review-translation`, `translated`, `final`.
`needs-translation` – the segment needs translation.
`needs-review-translation` – the segment was auto-translated and needs review.
`translated` – the segment was translated.
`final` – the segment was translated and approved.
```
text
```
```
text 2translation 2
```
```
text 3translation 3
```
```
text 4approved translation 4
```
**Note**: It is also possible to use `approved="yes"` attribute, it is equal to ``
```
text 1translation 1
```
Max. Length for the translated string:
```
```
Import as a hidden string:
```
Hi
```
**Auto-translation Source**
When Crowdin exports translations, strings auto-translated via Translation Memory, Machine Translation, or AI that haven't been reviewed yet include a `state-qualifier` attribute that indicates the auto-translation source. Such strings are exported with `state="needs-review-translation"`.
`leveraged-tm` – auto-translated via Translation Memory.
`leveraged-mt` – auto-translated via Machine Translation.
`x-leveraged-ai` – auto-translated via AI.
```
texttranslation
```
**Custom Attributes**
Source text will be taken from the node: `x-crowdin-source-element="target"`
```
```
**Comments**
```
String for translationtranslationtype your comment here
```
```
text to translatetype your comment here
```
**Plurals**
```
Context: ApplicationPreferencesActivity_messages_per_conversation [one] [other]%1s month%1s miesiąc%1s months%1s miesiące%1s months%1s miesięcy%1s months%1s miesiąca
```