Translation

There are no requirements for translations. Your service can be in one single language, but for the best user experience, it is recommended to translate your service. Translation method is completely up to you.

You can detect users language for User Agent string of his client. For more info, see variables.

Info about your service can be also displayed on web. When someone tries to install your service over the web, a request for welcome message is made for Locify servers with user agent Locify/Oldest-supported-Locify-version/User-language/Web. Example:

Locify/0.7.1/cs/Web

You can specify the language of your service in <html> tag attributes xml:lang and lang.

Example

English service

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0">
<head>
	<title>Wikipedia</title>
</head>
<body class="serviceInfo">
	<div>
		<p class="description">Ever wanted to know everything about place you're visiting? Now you can - find Wikipedia articles about nearest places.</p>
		<img src="http://www.locify.com/images/icons/wiki.png" class="icon" alt="" />
		<a href="http://services.locify.com/wikipedia/start" class="firstScreen">firstScreen</a>
		<a href="http://services.locify.com/wikipedia/settings" class="settings">settings</a>
	</div>
</body>
</html>

Czech service

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="cs" lang="cs" xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0">
<head>
	<title>Wikipedie</title>
</head>
<body class="serviceInfo">
	<div>
		<p class="description">Chtěli jste vždy vědět vše o místě, které jste právě navštívili? Teď můžete - hledejte Wikipedia články o nejbližších místech.</p>
		<img src="http://www.locify.com/images/icons/wiki.png" class="icon" alt="" />
		<a href="http://labs.locify.com/wikipedia/start" class="firstScreen">firstScreen</a>
		<a href="http://labs.locify.com/wikipedia/settings" class="settings">settings</a>
	</div>
</body>
</html>