Skip to content

Instantly share code, notes, and snippets.

@pavel-one
Created April 27, 2018 01:25
Show Gist options
  • Save pavel-one/28ba76f07cb12aea67a46f870d6e2e64 to your computer and use it in GitHub Desktop.
Save pavel-one/28ba76f07cb12aea67a46f870d6e2e64 to your computer and use it in GitHub Desktop.
<?php
$trans = array("Monday" => "Понедельник",
"Tuesday" => "Вторник",
"Wednesday" => "Среда",
"Thursday" => "Четверг",
"Friday" => "Пятница",
"Saturday" => "Суббота",
"Sunday" => "Воскресенье"
);
return strtr($input, $trans);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment