Skip to content

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.

Notifications You must be signed in to change notification settings

SchabanBo/localic

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks