#!/usr/bin/php Unraid Missing Translations"; $o .= "The following entries are missing translations.
"; $o .= "Please feel free to contribute to Unraid and fill out these missing translations. See This Post for more details"; $o .= "

NOTE: due to the design of the language files, missing translations within helptext.txt are not able to be listed here"; $o .= "

Jump to:

"; foreach ( $languageErrors as $language => $files ) { $countryCode = explode(" ",$language)[0]; $bookmarks .= "$language
"; $l .= "$language"; if ( is_array($files['files']) ) { $l .= "

The following files are missing from the language, and none of the translations are present: (You must copy the files from the en_US repository to the applicable language repository)

"; foreach ($files['files'] as $file) { $l .= "$file
"; } } if ( is_array($files['missing']) ) { $l .= "

The following files do not have these phrases translated:"; foreach ( $files['missing'] as $file => $errors ) { $l .= "

$file
"; foreach ($errors as $error) { $l .= "\"$error\"
"; } } $l .= "

"; } if ( ! is_array($files['missing']) && ! is_array($files['files']) ) { $l .= "

Language is currently up to date"; } $l .= "

"; } $o .= "$bookmarks

$l"; file_put_contents($appPaths['languageHTML'],$o); ?>