Code Monkey home page Code Monkey logo

localic's Introduction

Logo

This app will help you manage you applications locals easily. group you locals, translate them and then export them ready to use in your project.

Features

Organize your locals in one big tree structure.

TreeStructure

Translate them with google Translator to any language you want

Translation

Add new languages to your app

Language

Darg and drop your locals to rearrange them.

DragDrop

Export your local to GetX or Easy-localization

Export

Auto save and export

Getting Started

Windows

  • launch the application
  • add you first app
    • The name of you app
    • The path where to save the locals in form to reuse them later in localic (this should be in you repo files, so any update on you locals will be saved with the project). anyone have this file can use it with localic too.
    • The path where to export the generated files.
  • Open the app.
  • Go.

Web

  • Navigate to the page.
  • Open you app
    • Add new app and the locals data will be save in the local storage so you can return to them again and you can download then at any time.
    • Import an app from the downloaded file you have.
  • Go

Data Schema

The data schema in the application is like json schema. Items and Nodes. Every item has key and value. the value here is the translations in all defined languages. Every Node can have many items and many node.

Translation

you can translate the locales using google translation. you need to set the google apiKey to use it. Only Local items can be translated. and this will translate only the empty locals for the selected item.

Export

After adding all the data and translate them. you can export it and use it with GetX or EasyLocalization In the AppBar click on Export and Export dialog will appear.

Windows

You can pick the directory where the files should be exported to.

Web

The exported files will be downloaded.

GetX

To export the data to file that matches translations schema

  • Chose GetX
  • Pick the folder to export the class to.
  • A file with name locals.g.dart will be generated in the folder and ready to use.

Export example

Easy Localization

To export the data to json files with this structure

  • Chose easyLocalization
  • Pick the folder to export the files to.
  • Json files will be generated every file has the name of language and contains the translations for this language.

Export example

localic's People

Contributors

schabanbo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.