Just landed in cockpit next branch:
call in the terminal ./cp create-lang --lang fr --language French
This will create a language file in /config/cockpit/i18n/fr.php with all available language strings in your cockpit installation.
Greets
Artur