Translation of Plugin - best practice [SOLVED]

I’m currently developing a plugin that enables me to import apache/log/misc logfiles.

http://forge.typo3.org/projects/extension-piwikintegration/repository/show/trunk/piwik_patches/plugins/KSVisitorImport

So what’s the right way to translate my plugin?
It seems, that most labels of core plugins are defined centrally and there is no good example how to do translation in piwik.

I just found:

Regards
Kay

Add translation Available into the Plugin descriptor.


	$info = array(
				'description' => 'Imports Alternative Logfiles',
				'author' => 'Kay Strobach',
				'author_homepage' => 'http://www.kay-strobach.de/',
				'version' => '1.0.0',
				'translationAvailable' => true,
		);

Create dir “lang”. Add en.php and similar files. Example can be found in examplePLugin.

Regards
Kay