Using Appwrite Locale Service in your Next Project 🚀
Tags: appwrite, tutorial
Published: 2021-10-31 11:48:53

In today's post, I will share some ways you can use the Locale Service provided by Appwrite in your next project.

#### What is Appwrite ?

1. Appwrite is a Secure Open-Source Backend Server for Web, Mobile & Flutter Developers. It is a self-hosted solution that provides developers with a set of easy-to-use and integrate REST APIs to manage their core backend needs.
2. I would recommend to check out the [Appwrite Documentation](https://appwrite.io/docs) to learn more about Appwrite and various services offered by appwrite.
3. In this post, I will introduce the [Localization service](https://appwrite.io/docs/client/locale) provided by Appwrite and how we can use it.

#### Appwrite Locale Service.

1. Appwrite provides a Locale API which has multiple features which can be used by us to customize our project based on user's location.
2. Firstly, we can use the locale service provided by Appwrite to get the current location of the user including the country code, country name, continent name, continent code, IP address and suggested currency. [Learn More.](https://appwrite.io/docs/client/locale?sdk=web-default#localeGet)

3. Also, we can use the Locale API provided by Appwrite to obtain the following data - 
    * Get the list of all the countries of the world.
    * Get the list of all the EU countries.
    * Get the list of all the countries phone codes.
    * Get the list of all the currencies used across the world.
    * Get the list of all the languages used across the world.
    * Get the list of all the continents.

Isn't this cool 😎 and now I will share some great project ideas in which you can integrate Appwrite's Locale service easily.

<img width="100%" style="width:100%" src="https://media3.giphy.com/media/4QFcVnf41d2Lb5I0MK/giphy.gif?cid=ecf05e47i89yyhhfnb08rbfp504v580obwm4990smb0xnmft&rid=giphy.gif&ct=g">

### Project Idea's

#### Travel Based Social Networking App - 

 * When people go to different tourist places, they do a wide range 
 of activities and visit many places, in case you are confused 
 about what you should do, wouldn't it be cool to know what other's 
 are doing or what are they visiting. For this, we can make a 
 **social network application** where people can share their travel 
 experiences and based on user's location, only posts based on 
 that location will be shown, thus telling the user what other's 
 are exploring.
 * In order to implement this, we can use the Appwrite Locale API, 
 to get the user's location.

<img width="100%" style="width:100%" src="https://newsmobile.in/wp-content/uploads/2018/08/travel-theme.jpg">

#### Recommendation App
* We can build a recommendation app based on user's location. The app can either recommend the nearest hotel, restaurant, or even the nearest store.
* In order to implement this, we can use the Appwrite Locale API, 
 to get the user's location and recommend the nearest places based on that.

#### Weather Forecast App
* We can build a weather forecast app that tells about the current weather at that place based on user's location.
* We can easily get the current location of user using the Appwrite's service.
* We can use any weather API and pass the current location to get the current weather conditions.

#### Language Translator App

* We can build a translator app to convert text/speech from one language to the other.
* For displaying the list of languages, rather than mentioning every language, we can directly use Appwrite's API service to get the list.

#### Currency Convertor App

* Similarly, we can build a Currency Convertor App, to convert amount from one currency to another and use Appwrite's API service to display the list of all the currencies.

<img width="100%" style="width:100%" src="https://store-images.s-microsoft.com/image/apps.10700.9007199266244423.3cca2437-4dab-4f49-b226-7b723a1c3cfd.60a5d024-96d1-4f6f-a41a-cfb805ce6cfa?mode=scale&q=90&h=300&w=300">

And many more, the ideas are limitless, in this post I have just tried recommending few ideas you can implement.

In case if you have any queries or want to learn more, I would also recommend joining Appwrite's discord community — [Discord Link](https://discord.com/invite/GSeTUeA)