src/Gelembjuk/Locale/Utils.php
public function getAllGrupsWithMisses($deflocale,$includingmissedindef = true) {
		$result = array();

		$translate = $this->getTranslateObject();
		$translate->setLocale($deflocale);
		
		$defgroups = $translate->getAllGroups();

		$usedlanguages = $this->getUsedLanguages();
		
		foreach ($usedlanguages as $lang => $langdata) {
			foreach ($defgroups as $group) {
				
				$difference = $this->getDifference($group,$lang,$deflocale);
				
				if ($difference['missedcount'] > 0) {
					if (!is_array($result[$lang])) {
						$result[$lang] = array();
					}
					$result[$lang][$group] = $difference['missedcount'];
				}
			}
		}

		return $result;
	}
public function getAllGrupsWithMisses($deflocale,$includingmissedindef = true) {
		$result = array();

		$translate = $this->getTranslateObject();
		$translate->setLocale($deflocale);
		
		$defgroups = $translate->getAllGroups();

		$usedlanguages = $this->getUsedLanguages();
		
		foreach ($usedlanguages as $lang => $langdata) {
			foreach ($defgroups as $group) {
				
				$difference = $this->getDifference($group,$lang,$deflocale);
				
				if ($difference['missedcount'] > 0) {
					if (!is_array($result[$lang])) {
						$result[$lang] = array();
					}
					$result[$lang][$group] = $difference['missedcount'];
				}
			}
		}

		return $result;
	}
public function getAllGrupsWithMisses ( $ deflocale , $ includingmissedindef = true ) { $ result = array ( ) ; $ translate = $ this -> getTranslateObject ( ) ; $ translate -> setLocale ( $ deflocale ) ; $ defgroups = $ translate -> getAllGroups ( ) ; $ usedlanguages = $ this -> getUsedLanguages ( ) ; foreach ( $ usedlanguages as $ lang => $ langdata ) { foreach ( $ defgroups as $ group ) { $ difference = $ this -> getDifference ( $ group , $ lang , $ deflocale ) ; if ( $ difference [ 'missedcount' ] > 0 ) { if ( ! is_array ( $ result [ $ lang ] ) ) { $ result [ $ lang ] = array ( ) ; } $ result [ $ lang ] [ $ group ] = $ difference [ 'missedcount' ] ; } } } return $ result ; }
Returns all groups-locale associations where are some data missed comparing to def locale

@param string $deflocale Default locale to use as a base for comparing
@param bool $includingmissedindef Defines if to check what is present in other locales and missed in def locale
Returns all groups - locale associations where are some data missed comparing to def locale