protected function guessPluralRule()
	{
		$filePath = $this->originPath . '/' . $this->originLanguagePath . 'common.php';

		if (file_exists($filePath))
		{
			if ($this->safeMode)
			{
				$lang = self::langParser($filePath);
			}

			else
			{
				include($filePath);
			}

			if (!isset($lang['PLURAL_RULE']))
			{
				$this->output->writelnIfDebug("<info>No plural rule set, falling back to plural rule #1</info>");
			}
		}
		else
		{
			$this->output->writelnIfDebug("<info>Could not find common.php, falling back to plural rule #1</info>");
		}

		return isset($lang['PLURAL_RULE']) ? $lang['PLURAL_RULE'] : 1;
	}
protected function guessPluralRule()
	{
		$filePath = $this->originPath . '/' . $this->originLanguagePath . 'common.php';

		if (file_exists($filePath))
		{
			if ($this->safeMode)
			{
				$lang = self::langParser($filePath);
			}

			else
			{
				include($filePath);
			}

			if (!isset($lang['PLURAL_RULE']))
			{
				$this->output->writelnIfDebug("<info>No plural rule set, falling back to plural rule #1</info>");
			}
		}
		else
		{
			$this->output->writelnIfDebug("<info>Could not find common.php, falling back to plural rule #1</info>");
		}

		return isset($lang['PLURAL_RULE']) ? $lang['PLURAL_RULE'] : 1;
	}
protected function guessPluralRule ( ) { $ filePath = $ this -> originPath . '/' . $ this -> originLanguagePath . 'common.php' ; if ( file_exists ( $ filePath ) ) { if ( $ this -> safeMode ) { $ lang = self :: langParser ( $ filePath ) ; } else { include ( $ filePath ) ; } if ( ! isset ( $ lang [ 'PLURAL_RULE' ] ) ) { $ this -> output -> writelnIfDebug ( "<info>No plural rule set, falling back to plural rule #1</info>" ) ; } } else { $ this -> output -> writelnIfDebug ( "<info>Could not find common.php, falling back to plural rule #1</info>" ) ; } return isset ( $ lang [ 'PLURAL_RULE' ] ) ? $ lang [ 'PLURAL_RULE' ] : 1 ; }
Try to find the plural rule for the language
@return int
Try to find the plural rule for the language