Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnavk-09/multilanguage-url-shortner
🎌 Flutter-based URL shortener app with multi-language support using Tolgee...
https://github.com/arnavk-09/multilanguage-url-shortner
app dart demo example flutter google-fonts http i10n i18n material material-ui template tolgee
Last synced: 15 days ago
JSON representation
🎌 Flutter-based URL shortener app with multi-language support using Tolgee...
- Host: GitHub
- URL: https://github.com/arnavk-09/multilanguage-url-shortner
- Owner: ArnavK-09
- License: unlicense
- Created: 2024-10-29T16:54:14.000Z (18 days ago)
- Default Branch: master
- Last Pushed: 2024-10-29T18:48:38.000Z (18 days ago)
- Last Synced: 2024-10-29T18:57:09.628Z (18 days ago)
- Topics: app, dart, demo, example, flutter, google-fonts, http, i10n, i18n, material, material-ui, template, tolgee
- Language: Dart
- Homepage: https://arnavk-09.github.io/multilanguage-url-shortner/
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🎌 Multilanguage URL Shortener 🎌
Tolgee Demo
> [!NOTE]
>
> Welcome to the **Multilanguage URL Shortener** project! This app demonstrates the usage of **Tolgee** for localization in a Flutter application. With this project, you can shorten URLs and switch between multiple languages seamlessly. 🌐✂️## 📖 About [Tolgee](https://tolgee.io)
**Tolgee** is a powerful localization platform that allows you to translate your application into any language without modifying your code. It is designed for web applications but can also be used for mobile and desktop apps.
**Features:**
- **Easy Integration:** No more searching for keys in your source code.
- **Effortless Localization:** No need to edit localization files manually.
- **Simple Data Export:** Easily export data for translators without hassle.## 🚀 Getting Started
> Follow these steps to set up the project locally:
### Prerequisites
1. **Flutter SDK**: Make sure you have Flutter installed on your machine. [Install Flutter](https://flutter.dev/docs/get-started/install)
2. **Dart SDK**: Included with Flutter.
3. **A Tolgee API Key**: Sign up on [Tolgee](https://tolgee.io) to get your API key.### Initialization Steps
1. **Clone the Repository:**
###### terminal
```bash
git clone https://github.com/ArnavK-09/multilanguage-url-shortner.git
cd multilanguage-url-shortner
```2. **Install Dependencies:**
###### terminal
```bash
flutter pub get
```4. **Set Up Environment Variables:**
Setup Environment variable for Tolgee API key:
###### .env
```plaintext
# Required: Your Tolgee API Key
TOLGEE_API_KEY=""
```
or
###### terminal
```bash
export TOLGEE_API_KEY=""
```
6. **Fetch Translations from Tolgee:**Run the following command to import translations into your project or run the script named [`import_data.sh`](import_data.sh):
###### terminal
```bash
curl "https://app.tolgee.io/v2/projects/export?ak=$TOLGEE_API_KEY" --output data.zip && unzip data.zip -d i18n && rm data.zip
```7. **Run the Application:**
Launch the app in your preferred environment (web or mobile):
```bash
flutter run
```## 🎨 Features
- **URL Shortening:** Easily shorten any URL using a simple interface.
- **Localization Support:** Switch between multiple languages using Tolgee.
- **User-Friendly Design:** A clean and intuitive user interface.## 📦 Built With
- **Flutter:** The UI toolkit for building natively compiled applications.
- **Tolgee:** For localization and translation management.---
If you find this project helpful, please give it a ⭐ on GitHub!