Skip to content

Instantly share code, notes, and snippets.

@batkor
Last active May 3, 2023 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batkor/b1bbd949c0bdb7b63e25173b84657bad to your computer and use it in GitHub Desktop.
Save batkor/b1bbd949c0bdb7b63e25173b84657bad to your computer and use it in GitHub Desktop.
Test po file
# Russian translation
# Drush command for update locale
# `drush locale-check && drush locale-update && drush cr`
# `drush locale:import locale --type=customized ABSOLUTE/PATH/TO/locale.po`
# The context value.
msgctxt ""
# The source text.
msgid ""
# The translated text.
msgstr ""
"Language-Team: Russian\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=((((n%10)==1)&&((n%100)!=11))?(0):(((((n%10)>=2)&&((n%10)<=4))&&(((n%100)<10)||((n%100)>=20)))?(1):2));\n"
msgid "Customer"
msgstr "Покупатель"
msgid "Total price"
msgstr "Итоговая сумма"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment