31

What does this mean?

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

It can be seen in Strings.xml as part of the resources folder values in Android projects.

JJD
  • 47,369
  • 53
  • 194
  • 328
Navigatron
  • 1,969
  • 6
  • 29
  • 54
  • While these answers address the xliff tool without specific reference to Android, I have a more Android-specific answer on a related question --> https://stackoverflow.com/a/50233090/383414 – Richard Le Mesurier May 08 '18 at 12:03

2 Answers2

24

This is xml namespace used for xliff. Xliff is used for localization purposes. You can read more about xliff here.

inazaruk
  • 73,337
  • 23
  • 185
  • 156
7

XLIFF is the OASIS XML Localisation Interchange File Format.

xmlns:xliff is an XML attribute name. The :xliff indicates we are using the xliff namespace.

urn:oasis:names:tc:xliff:document:1.2 identifies the schema location; the choice of format is at the discretion of Oasis, I'd assume it has meaning.

Jon Cram
  • 15,979
  • 22
  • 74
  • 106