An app utilizes to translate any text to multiple languages

Multi Translator App

An app utilizes to translate any text to multiple languages.

Features

  • Localization
  • Multiple Translation
  • Single Translation
  • Deep Links
  • Translation History
  • Translation Share & Copy
  • Reminder Notification for Translation History
  • Auto Language Detection
  • Listenable Translations

Domain-Driven Design

Domain-driven design is a concept in order structure software projects and maintain the domain layer of the source code by Eric Evans. For further reading, here. DDD is robust, solid & be applicable to various fields of software development. Thanks to DDD, massive projects are much maintainable with its principles.

Flutter with DDD

In Flutter development, DDD might be used with different state management libraries; such as BLOC, provider, redux… This project uses BLOC. The directory of the project is mainly seperated into 4 subdirectories: Application, Domain, Presentation, Infrastructure. Each subdirectory has a valuable role in DDD. Every one of them should be considered as a layer of a building. Some layers contact other layers, some do not. For further reading, here.

CI/CD For Flutter

Continuous Integration and Continuous Delivery is an one of the most essential topics of software development. For mobile development, it strongly depends on SDKs and platforms both iOS & Android. This project uses Codemagic CI/CD configuration without any addition to source code. For further reading, here.

Deep Links

Multi Translator App supports deep links for both iOS and Android. Deep links are useful when navigating the app from outside of it. This app takes two different parameters by deep link for translating. Also, Flutter supports universal links as well. For further reading about Deep Linking here.

Parameters

  • text
  • lan (default: en)

Example – 1

Parameters

text=hello

Command for iOS Simulator

xcrun simctl openurl booted "ibksteltranslate:translation?text=hello"

Command for Android Emulator

adb shell am start  "ibksteltranslate://translation?text=hello"

Example – 2

Parameters

text=merhaba
lan=tr

Command for iOS Simulator

xcrun simctl openurl booted "ibksteltranslate:translation?text=merhaba&lan=tr"

Commands for Android Emulator

adb shell am start  "ibksteltranslate://translation?text=merhaba&lan=tr"

Setup

This project uses generated files to run. Before running the app, please run.

git clone https://github.com/stelselim/translation_app.git
cd translation_app
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs

Run

Runs the project.

flutter pub get
flutter run

Test

Runs unit tests.

flutter pub get
flutter test

Authors

? Selim Ustel

GitHub

View Github