Skip to main content

split_locale

Function split_locale 

Source
pub fn split_locale(loc: &str) -> (String, String)
Expand description

ロケールの言語(先頭の部分タグ。小文字)と地域(2 文字の大文字。無ければ空)。