Multilingual angular 8 apps with ngx-translate

  Рет қаралды 46,181

BlackBox Tech

BlackBox Tech

Күн бұрын

Пікірлер: 83
@dylanlang5088
@dylanlang5088 2 жыл бұрын
This was exactly what I was looking for! very informative and helpful! Thank you so much for the tutorial and good luck on your future projects!
@sapariyajaydipdhirajlal6714
@sapariyajaydipdhirajlal6714 4 жыл бұрын
such a lovely hands on tutorial ,im finding for hands on but no one have perfect video compared to this, thank you very much sir keep making this type of informative hands on videos for newbies like us.
@GreenPeteTV
@GreenPeteTV 3 жыл бұрын
Thank you, it's a great tutorial. Seriously helped me a lot.
@abdulwehabmohammed5580
@abdulwehabmohammed5580 3 жыл бұрын
Pretty cool and simple tutorial. Thankyou very much.
@tarapablo
@tarapablo 5 жыл бұрын
Thank you, very informative and clear demonstration :)
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot!!!
@nadayousef5143
@nadayousef5143 4 жыл бұрын
can you please make a vedio ngxtranslate for lazy loading ! I cant make it work for me
@Suhas_reddy112
@Suhas_reddy112 3 жыл бұрын
Thanks for this tutorial
@pariahosseiny1586
@pariahosseiny1586 5 жыл бұрын
Excellent ,it worked for me.thank you so much.
@haithamelrefaie
@haithamelrefaie 4 жыл бұрын
Thanks a lot , this is very helpful
@Austin-st8yn
@Austin-st8yn 4 жыл бұрын
Very nice! I have a question. How can I set the date and time format based on the user's locale?
@pradeepyenkuwale7143
@pradeepyenkuwale7143 3 жыл бұрын
How i can apply this pip filter in all the pages of my project?
@AyushmanAdhikary
@AyushmanAdhikary 4 жыл бұрын
Very good tutorial. Thank you!
@strikerwow2011
@strikerwow2011 4 жыл бұрын
Nice I already like!
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Thanks!
@LexMadafaka
@LexMadafaka 3 жыл бұрын
Good one. Thanks!
@jhonmasco1366
@jhonmasco1366 4 жыл бұрын
Nice Tutorial. I have one question: How i can translate globally, i mean, i am using diferent files for menu (header - sidebar- footer) , i want translate the header. I need to put the configuration in the header.ts or from app-component is possible? because is not working for me from there. Thanks
@LexMadafaka
@LexMadafaka 3 жыл бұрын
Searching for the same thing... no answers found yet. Anyone?
@jhonmasco1366
@jhonmasco1366 3 жыл бұрын
@@LexMadafaka i solved my problem, importing the translateModule in app.module.ts and all the diferent modules inside the project. Try that!, the best way to do that is have a sharedModule and import it in all the other module.
@venkateshuttur4136
@venkateshuttur4136 3 жыл бұрын
very nice one,have one doubt-in assest folder is it mandatory to name as i18N?
@majklzumberi1761
@majklzumberi1761 4 жыл бұрын
Amazing content! thanks for this tutorial
@jared394
@jared394 4 жыл бұрын
Great video do you have any videos on RTL
@amolmali3583
@amolmali3583 4 жыл бұрын
Great video. thanks
@attherockshow8902
@attherockshow8902 5 жыл бұрын
Any recommendation on how to split language files by module ?
@manishkumarchouhan7841
@manishkumarchouhan7841 4 жыл бұрын
which one is better for internationalization either ngx-translate or using xlf in the project ?
@tariqboukouyen4841
@tariqboukouyen4841 5 жыл бұрын
works just fine. THANKS.
@saisanthosh7072
@saisanthosh7072 3 жыл бұрын
It's informative one, I'm having a doubt. For all the words we should add corresponding word in respective en.json or fr.json respectively. Is there any possibilities on displaying the data dynamically
@oubaidhlaimi
@oubaidhlaimi 3 жыл бұрын
thank u very much sir
@etatevosian
@etatevosian 4 жыл бұрын
Thank you! Very nice tutorial!
@karthikakavi8526
@karthikakavi8526 2 жыл бұрын
Thank you for the information!!.Can you tell which method is good and easy for angular translation, whether it is i18n(discussed in last video) or ngx-translate. And one more doubt can we able to switch language in runtime using i18n(using dropdown in UI)
@assmabenmussa4228
@assmabenmussa4228 5 жыл бұрын
Excellent tutorial Thank you, sir!
@javascript_developer
@javascript_developer 4 жыл бұрын
awesome thanks for the tutorial
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Glad you liked it!
@Muhammad_Mabrouk
@Muhammad_Mabrouk 5 жыл бұрын
Amazing tutorial, Thank you for this video 🌹
@icasemobileservicecenter3293
@icasemobileservicecenter3293 5 жыл бұрын
how to get lang from only one json file ?
@alaanagah9425
@alaanagah9425 4 жыл бұрын
thank you so much
@sapariyajaydipdhirajlal6714
@sapariyajaydipdhirajlal6714 4 жыл бұрын
sir, please use bigger font because i can't read that properly even in 720p and your videos will look fine even with bigger font and thanks again you saved our life... hahaha
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Ok next time. I am getting this feedback from many. Thanks again!
@fduduf
@fduduf 5 жыл бұрын
Very simple way, Thank you so much!
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot!
@javascript_developer
@javascript_developer 4 жыл бұрын
How can I change that en into English in dropdown ? i tried created array object but it didn't allow me due to type string.
@usamaattique150
@usamaattique150 3 жыл бұрын
cannot connect json file with html any idea?
@ADSNGreenLife
@ADSNGreenLife 4 жыл бұрын
@BlackBox, Nice tutorial But If have dynamic data from API. I want to show in Text, table, dropdown. And while post API I want to send data to API as in English then? Can you tell me how it's possible?
@parthaghosh9687
@parthaghosh9687 4 жыл бұрын
I liked your video just one quick question - how to make the content dynamic instead static in JSON files
@javascript_developer
@javascript_developer 4 жыл бұрын
I think i18n is only for local text. if you want to make things dynamic, that is need to done via api itself. API should accept locale in header in api call and return the data accordingly.
@supriyasuryawanshi3453
@supriyasuryawanshi3453 4 жыл бұрын
How to translate dynamic data from API?
@giseiitb
@giseiitb 4 жыл бұрын
do you have this sample code in some publicly available repository?
@NitishKumar-hw3nr
@NitishKumar-hw3nr 4 жыл бұрын
Why do we need a different JSON files for different languages? Can't we create a JSON file where we can provide the key as language code and we can have all keys and values? {'fr':[{'key':'val'},{'Key':'val'}}
@Felipe-gw4gr
@Felipe-gw4gr 4 жыл бұрын
Hey B.T. , this dark theme from VisualCode is hard to see in tutorial. Thanks for video!
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Hi Sure I will change the theme
@brawnyvenky9584
@brawnyvenky9584 5 жыл бұрын
good intro to angular translate, similarily can you give an example of how to pass parameters dynamically to the en.json / fr.json like In en.json:- { 'HOME': 'some text with variable from code {{customer.name}} . }
@MuhammadbinYusrat
@MuhammadbinYusrat 4 жыл бұрын
The background sounds are scary.. I thought you were sitting somewhere between zombies 😄
@kareemmuhammad8360
@kareemmuhammad8360 4 жыл бұрын
I think this background only to keep focusing on the part is being explained
@nourahaldahash4742
@nourahaldahash4742 4 жыл бұрын
Thank you very much !!
@MarioAxl
@MarioAxl 3 жыл бұрын
What do you think is best ngx-translate or i18?
@BlackBoxTech
@BlackBoxTech 3 жыл бұрын
Ngx-translate have more options and also plugin options
@AndriyTomusiak
@AndriyTomusiak 4 жыл бұрын
How to do after the reload page, your language not no go to default, but stay which you put ?
@DiogoGuik
@DiogoGuik 3 жыл бұрын
Hi man, have you found a solution for that ?
@BlackBoxTech
@BlackBoxTech 3 жыл бұрын
You can use localstorage to store the language preference.
@ايمانعبدالقادر-ص9خ
@ايمانعبدالقادر-ص9خ 4 жыл бұрын
thanks :)
@mryassine7221
@mryassine7221 5 жыл бұрын
How to do rtl and ltr and switch components for left to right? Thanks for this awesome video 👍
@nadayousef5143
@nadayousef5143 4 жыл бұрын
Thanks a million :)
@sreekanthbandaru3359
@sreekanthbandaru3359 4 жыл бұрын
this video is not clear about the code
@roodwally3167
@roodwally3167 3 жыл бұрын
thnks
@sam86k
@sam86k 4 жыл бұрын
ERROR in Error during template compile of 'AppModule' Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler in 'ServiceWorkerModule' 'ServiceWorkerModule' references 'PLATFORM_ID' at @angular\service-worker\service-worker.ts(82,39) 'PLATFORM_ID' references 'PLATFORM_ID' 'PLATFORM_ID' references 'PLATFORM_ID' 'PLATFORM_ID' references 'PLATFORM_ID' 'PLATFORM_ID' is not initialized at @angular\core\src\application_tokens.ts(40,22).
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc 4 жыл бұрын
can you share code for it?
@jbalceda
@jbalceda 4 жыл бұрын
Thanks man!
@sargumsingh2086
@sargumsingh2086 5 жыл бұрын
where do you specify path to pull json files under assets\i18n? I get 404 error for assets/i18n/es.json
@assmabenmussa4228
@assmabenmussa4228 5 жыл бұрын
hey there, the same problem happened with me and i fixed it by replacing {{ HOME.TITLE | translate }} with {{ 'HOME.TITLE' | translate }}..hope this helps
@MuhammadbinYusrat
@MuhammadbinYusrat 4 жыл бұрын
By default it should look in the assets folder.
@radovansurlak7445
@radovansurlak7445 5 жыл бұрын
Thanks a lot :)
@magnifico689
@magnifico689 5 жыл бұрын
github repo please, thanks!
@alexandergrinevskiy8445
@alexandergrinevskiy8445 5 жыл бұрын
Why are you using http loader if you don't even utilize it.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Translatehttploader being used by ngx translate to load the JSON files it's used in the code.
@LucasAndersonL
@LucasAndersonL 4 жыл бұрын
Thanks for help me... But, in my case worked only using [innerHTML]="'home.title' | translate", but work hahaha Thanks
@danielvega646
@danielvega646 3 ай бұрын
18:35
@singhamit0002
@singhamit0002 3 жыл бұрын
Very poor visibility...
@upcom1ng116
@upcom1ng116 3 жыл бұрын
Assuming you are watching from the phone?
@singhamit0002
@singhamit0002 3 жыл бұрын
@@upcom1ng116 yes
@bernardomondragonbrozon5182
@bernardomondragonbrozon5182 4 жыл бұрын
Great tutorial. Thank you very much!
@hmmer3471
@hmmer3471 4 жыл бұрын
Thank you very much
@larsfagerbakke2140
@larsfagerbakke2140 4 жыл бұрын
Thank you for this nice tutorial!
Introduction to Internationalization in Angular
13:04
Angular
Рет қаралды 130 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 89 МЛН
Angular 8 i18n example | internationalization
13:33
BlackBox Tech
Рет қаралды 52 М.
Http Requests, Interceptors, Error Handling & more [Angular Series]
22:40
Angular run-time environment config | Blackboxtech
14:49
BlackBox Tech
Рет қаралды 15 М.
Angular continuous deployment to remote AWS or any server
40:19
BlackBox Tech
Рет қаралды 11 М.
Angular storybook | visual style-guide for angular | Blackboxtech
22:56
Why MOST Developer Portfolios are Worthless
12:50
Travis Media
Рет қаралды 10 М.