Posts

Showing posts with the label language

[Flutter] Translations, internationalisation with GetX package

Image
As applications are actually spread around the world, a common task to implement when developing your app (mobile, web or desktop), is to setup a multi-language option .  In Flutter, it can be done easily with the GetX Package (a useful package that provides a lot more services ! You should take a look if you don't know this package:  GetX package on pub.dev . The implementation steps are the following: 1-Add GetX package to your solution You can do it the traditional way you like. For instance with "Pub Assist" extension: Shift+CMD+P > Pub asssist: add/upgrade > get 2-Use a GetMaterialApp Important step, do not forget to use the GetMaterialApp classe instead of Flutter's MaterialApp: @ override Widget build ( BuildContext context ) { return GetMaterialApp ( 3-Add a translation file Next you have to add a class that will embed all your strings declaration / translations. This class must extends the GetX's Translation class. Here is an example:

[Fast&Furious guide] VS 2017, how to change IDE's language

Image
Visual Studio is now available to download. In my case, I used the english web installer to install the english version. But I was a little bit surprised (or not) to see that the installed version was setup with the same language as my operating system. So here is the simple steps to change the IDE's language: 1- Run Visual Studio 2017 installer (in administrator mode) then click"update" button of the instance you want to update: 2- Then click on the language modules tab 3- Then check all languages you want to use in your IDE 4- Restart Visual Studio then go to Menu / TOOLS / Options / (Environnement - International Settings) menu 5- Finally choose your prefered language in the languages combobox. Note that you can choose 'Same as Microsoft Windows' option. Restart and enjoy programming !