Skip to content

About

vcpkg registry for ci18n, a single-header C i18n library

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

vcpkg registry for ci18n

A vcpkg registry with one port, ci18n: translations for C in one header, with CLDR plural rules for 71 languages.

Add it to the vcpkg-configuration.json next to your vcpkg.json:

{
  "default-registry": {
    "kind": "git",
    "repository": "https://github.com/microsoft/vcpkg",
    "baseline": "<a commit of microsoft/vcpkg>"
  },
  "registries": [
    {
      "kind": "git",
      "repository": "https://github.com/ilyabrin/vcpkg-registry",
      "baseline": "<the latest commit of this repository>",
      "packages": ["ci18n"]
    }
  ]
}

Then depend on it in vcpkg.json and use it from CMake:

{ "dependencies": ["ci18n"] }
find_package(ci18n CONFIG REQUIRED)
target_link_libraries(main PRIVATE ci18n::ci18n)

ci18n_compile_translations() comes with the package as well; see the library's compiled catalogues.

About

vcpkg registry for ci18n, a single-header C i18n library

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages