cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hancha
Resolver I
Resolver I

language of date

Hi, 
I wonder if anyone could explain to me how localization works in powerapps.

 

I´m building a calender component for my company.

I use powerapps studio (as well as my browsers) in English as it suits me more.

The component is supposed to be in the Czech language and here my issue comes.

The date stays in English even when I use "[$-cs-CZ]mmmm yyyy" in the Text function.

 

I came up with a workaround ...I wanted to use a collection as a localization table but components dont seem to support collections...

I´ve been searching the forums here but no luck so far...

 

Thanks a lot

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
RandyHayes
Super User
Super User

@Hancha 

Change your text formula to the following:

Text(Now(), "[$-cs-CZ]mmmm yyyy", "cs-CZ")

 

This gives you the translations you are looking for.

 
 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

RandyHayes
Super User
Super User

@Hancha 

That actually sounds more like a bug in the localization.  If localized your months are not capitalized, then again, sounds like a problem internal to the Text function.

But, while holding your breath waiting for that to be fixed...you can just use the following formula:

Lower(Text(Now(), "[$-cs-CZ]mmmm yyyy", "cs-CZ"))

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

4 REPLIES 4
RandyHayes
Super User
Super User

@Hancha 

Change your text formula to the following:

Text(Now(), "[$-cs-CZ]mmmm yyyy", "cs-CZ")

 

This gives you the translations you are looking for.

 
 

I hope this is helpful for you.

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Thanks a lot for your help @RandyHayes ,

It works nicely.

 

I will have one more question though.

Is there a way to get rid of the Capital letter at the beginning of the month name. In Czech, we do not capitalize months .

RandyHayes
Super User
Super User

@Hancha 

That actually sounds more like a bug in the localization.  If localized your months are not capitalized, then again, sounds like a problem internal to the Text function.

But, while holding your breath waiting for that to be fixed...you can just use the following formula:

Lower(Text(Now(), "[$-cs-CZ]mmmm yyyy", "cs-CZ"))

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Thanks for the workaround!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,565)