All Projects → syyongx → ii18n

syyongx / ii18n

Licence: MIT license
II18N - Go i18n library.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to ii18n

translation-engine
A Rails engine for sending and receiving translations from Translation Server
Stars: ✭ 14 (-30%)
Mutual labels:  i18n
Movie-Paradise
A responsive movie preview web app
Stars: ✭ 19 (-5%)
Mutual labels:  i18n
inlang
Open Source Localization Solution for Software.
Stars: ✭ 160 (+700%)
Mutual labels:  i18n
findadoc-localization
Translations for Findadoc Japan
Stars: ✭ 17 (-15%)
Mutual labels:  i18n
oojs-ui
OOUI is a modern JavaScript UI library with strong cross-browser support. It is the standard library for MediaWiki and Wikipedia. This is a mirror from https://gerrit.wikimedia.org. Main website:
Stars: ✭ 45 (+125%)
Mutual labels:  i18n
grunt-assemble-i18n
Assemble middleware for adding i18n support to projects.
Stars: ✭ 25 (+25%)
Mutual labels:  i18n
springboot-chapter
🚀Spring Boot 2.0基础教程。主流框架整合,实践学习案例。
Stars: ✭ 23 (+15%)
Mutual labels:  i18n
tr4n5l4te
Use Google Translate without an API key.
Stars: ✭ 32 (+60%)
Mutual labels:  i18n
vite-vue-admin
🎉🎉使用Vite + Vue3 + TypeScript + Element-plus + Mock开发的后台管理系统🎉🎉
Stars: ✭ 97 (+385%)
Mutual labels:  i18n
pydantic-i18n
pydantic-i18n is an extension to support an i18n for the pydantic error messages.
Stars: ✭ 32 (+60%)
Mutual labels:  i18n
go-locale
GoLang library used to retrieve the current locale(s) of the operating system.
Stars: ✭ 16 (-20%)
Mutual labels:  i18n
gatsby-i18n
Gatsby plugin that provides i18n support
Stars: ✭ 25 (+25%)
Mutual labels:  i18n
i18n
internationalize projects to Arabic
Stars: ✭ 67 (+235%)
Mutual labels:  i18n
i18n.cr
Internationalization API ( i18n ) for Crystal!
Stars: ✭ 36 (+80%)
Mutual labels:  i18n
Angular-Gulp-Boilerplate
Clean but full-featured AngularJS boilerplate using Gulp workflow and best practices
Stars: ✭ 30 (+50%)
Mutual labels:  i18n
next-intl
A minimal, but complete solution for internationalization in Next.js apps. 🌐
Stars: ✭ 242 (+1110%)
Mutual labels:  i18n
public
util toolkit for go.golang 通用函数包
Stars: ✭ 135 (+575%)
Mutual labels:  i18n
wlc
Weblate command line client
Stars: ✭ 22 (+10%)
Mutual labels:  i18n
gettext-extractor
A flexible and powerful Gettext message extractor with support for JavaScript, TypeScript, JSX and HTML.
Stars: ✭ 82 (+310%)
Mutual labels:  i18n
vue-element-admin-ts
vue-element-admin 的 typescript 版本
Stars: ✭ 101 (+405%)
Mutual labels:  i18n

II18N

GoDoc Go Report Card MIT licensed

Go i18n library.

Download & Install

go get github.com/syyongx/ii18n

Quick Start

import github.com/syyongx/ii18n

func main() {
    config := map[string]Config{
        "app": Config{
            SourceNewFunc: NewJSONSource,
            OriginalLang:  "en-US",
            BasePath:      "./testdata",
            FileMap: map[string]string{
                "app":   "app.json",
                "error": "error.json",
            },
        },
    }
    NewI18N(config)
    message := T("app", "hello", nil, "zh-CN")
}

Apis

NewI18N(config map[string]Config) *I18N
T(category string, message string, params map[string]string, lang string) string

LICENSE

II18N source code is licensed under the MIT Licence.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].