{"id":59971,"library":"fluent-langneg","title":"Fluent LangNeg","description":"A library for language and locale negotiation.","status":"active","version":"0.14.2","language":"rust","source_language":null,"source_url":"https://github.com/projectfluent/fluent-langneg-rs","tags":["locale","language","negotiation","i18n","l10n"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfluent-langneg = \"0.14.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add fluent-langneg","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"negotiate_languages","correct":"use fluent_langneg::negotiate_languages;"}],"quickstart":{"code":"use fluent_langneg::negotiate_languages;\n\nlet available = vec![\"en-US\", \"de\"];\nlet default = \"en-US\";\nlet negotiated = negotiate_languages(&[\"de\"], &available, Some(default));\nprintln!(\"{:?}\", negotiated);","lang":"rust","description":"Negotiate the best matching language from available locales."},"warnings":[],"env_vars":null,"search_vec":"'fluent':1 'i18n':13 'l10n':14 'langneg':2 'languag':6,11 'librari':4 'local':8,10 'negoti':9,12","created_at":"2026-06-16T17:23:11.839890+00:00","updated_at":"2026-06-16T17:23:11.839890+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://projectfluent.org/","github":"https://github.com/projectfluent/fluent-langneg-rs","docs":"https://docs.rs/fluent-langneg/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}