Skip to content

Commit 2ed66f8

Browse files
committed
update
1 parent 6805b21 commit 2ed66f8

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

powerapps-docs/maker/canvas-apps/global-apps.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ search.app:
1717
# Build global support into canvas apps
1818
Power Apps is a global product. You can build and use canvas apps in many different languages and regions.
1919

20-
Both while building and running apps, the text displayed by Power Apps has been translated into a variety of languages. You will see menu items, dialog boxes, ribbon tabs, and other text in your native language. Typing in and displaying dates and numbers is also adapted for your particular language and region. For example, some regions of the world use a **.** (dot or period) as the decimal separator while others use a **,** (comma).
20+
Both while building and running apps, the text displayed by Power Apps has been translated into different kinds of languages. You'll see menu items, dialog boxes, ribbon tabs, and other text in your native language. Typing in and displaying dates and numbers is also adapted for your particular language and region. For example, some regions of the world use a **.** (dot or period) as the decimal separator while others use a **,** (comma).
2121

22-
The apps you create can be globally aware as well. Use the **[Language](functions/function-language.md)**, **[Text](functions/function-text.md)**, **[Value](functions/function-value.md)**, **[DateValue](functions/function-datevalue-timevalue.md)** and other functions to adapt what is displayed and used as input in different languages.
22+
The apps you create can be globally aware as well. Use the **[Language](functions/function-language.md)**, **[Text](functions/function-text.md)**, **[Value](functions/function-value.md)**, **[DateValue](functions/function-datevalue-timevalue.md)**, and other functions to adapt what is displayed and used as input in different languages.
2323

2424
## Language settings
25-
When using the native studio or a native player, the language used is provided by the host operating system. For Windows, this can be controlled under "All Settings" and then "Time & language" settings. Windows also allows you to specify the characters to use for the decimal separator, overriding the language setting.
25+
When using the native studio or a native player, the language used is provided by the host operating system. For Windows, this setting can be controlled under "All Settings" and then "Time & language" settings. Windows also allows you to specify the characters to use for the decimal separator, overriding the language setting.
2626

2727
When using the web experiences, the language used is provided by the browser. Most browser default to the host operating system's setting with some also providing a way to set the language manually.
2828

@@ -32,23 +32,23 @@ The authoring environment adapts to the language setting of the author. The app
3232
### Names in formulas
3333
Most elements in formula are always in English:
3434

35-
* Function names: **If**, **Navigate**, **Collect**, ...
36-
* Control property names: **Screen.Fill**, **Button.OnSelect**, **Textbox.Font**, ...
37-
* Enumeration names: **Color.Aqua**, **DataSourceInfo.MaxValue**, **FontWeight.Bold**...
38-
* Signal records: **Compass.Heading**, **Location. Latitude**, **App.ActiveScreen**, ...
39-
* Operators: **Parent**, **in**, **exactIn**, ...
35+
* Function names: **If**, **Navigate**, **Collect**, and so on.
36+
* Control property names: **Screen.Fill**, **Button.OnSelect**, **Textbox.Font**, and so on.
37+
* Enumeration names: **Color.Aqua**, **DataSourceInfo.MaxValue**, **FontWeight.Bold**, and so on.
38+
* Signal records: **Compass.Heading**, **Location. Latitude**, **App.ActiveScreen**, and so on.
39+
* Operators: **Parent**, **in**, **exactIn**, and so on.
4040

4141
As the authoring experience is localized, control and other object names will appear in the native language of the author. In Spanish, some of the control names appear as:
4242

43-
![](media/global-apps/insert-controls-es.png)
43+
![Control names in Spanish](media/global-apps/insert-controls-es.png "Control names in Spanish")
4444

45-
When you insert one of these into your app, their name will default to English. This is done for consistency with the control property names and the rest of the formula. For example, **Casilla** listed above is inserted as **Checkbox1**.
45+
When you insert one of these controls into your app, their name will default to English. This change is done for consistency with the control property names and the rest of the formula. For example, **Casilla** listed above is inserted as **Checkbox1**.
4646

47-
After a control is inserted, you can change the name to whatever you like. While selected, the far left hand side of the "Content" ribbon displays the name of the control. Selecting this name drops down a text box where you can edit the name:
47+
After a control is inserted, you can change the name to whatever you like. While selected, the far left-hand side of the "Content" ribbon displays the name of the control. Selecting this name drops down a text box where you can edit the name:
4848

49-
![](media/global-apps/control-rename.png)
49+
![Experience in Spanish](media/global-apps/control-rename.png "Experience in Spanish")
5050

51-
If you like, here you can rename the control to **Casilla1**. The red squiggly, in this case displayed by a browser, is because the name is not a Spanish word and is of no concern.
51+
If you like, here you can rename the control to **Casilla1**. The red squiggly, in this case displayed by a browser, is because the name isn't a Spanish word and is of no concern.
5252

5353
You can use whatever names you like for:
5454

@@ -72,15 +72,15 @@ The change in the Power Apps list separator is consistent with what happens to t
7272

7373
For example, consider the following formula expressed in a language and region that uses dot or period as the decimal separator, such as Japan or the United Kingdom:
7474

75-
![Power Apps formula If open paren slider1 dot value greater than 12 dot 59 comma notify open paren "Valid!" comma success close paren semi-colon Navigate open paren "NextScreen" comma None close paren comma notify open paren "Invalid, try again" comma error close paren close paren](media/global-apps/operators-dot.png)
75+
![Power Apps formula If open paren slider1 dot value greater than 12 dot 59 comma notify open paren double-quote Valid! double-quote comma success close paren semi-colon Navigate open paren double-quote NextScreen double-quote comma None close paren comma notify open paren double-quote Invalid, try again double-quote comma error close paren close paren](media/global-apps/operators-dot.png)
7676

7777
Now view this same formula in a language and region where a comma is used for the decimal separator, such as France or Spain:
7878

79-
![Power Apps formula If open paren slider1 dot value greater than 12 comma 59 semi-colon notify open paren "Valid!" semi-colon success close paren double semi-colon Navigate open paren "NextScreen" semi-colon None close paren semi-colon notify open paren "Invalid, try again" semi-colon error close paren close paren](media/global-apps/operators-comma.png)
79+
![Power Apps formula If open paren slider1 dot value greater than 12 comma 59 semi-colon notify open paren double-quote Valid! double-quote semi-colon success close paren double semi-colon Navigate open paren double-quote NextScreen double-quote semi-colon None close paren semi-colon notify open paren double-quote Invalid, try again double-quote semi-colon error close paren close paren](media/global-apps/operators-comma.png)
8080

81-
The highlight shows the operators that change between the two versions. Note that the property selection operator **.** (dot or period) in **Slider1.Value** is always the same, no matter what the decimal separator is.
81+
The highlight shows the operators that change between the two versions. The property selection operator **.** (dot or period) in **Slider1.Value** is always the same, no matter what the decimal separator is.
8282

83-
Internally the formula does not change, all that changes is how it is displayed and edited by the author. Two different authors using two different languages can view and edit the same formula, with each seeing the appropriate separators and operators for their language.
83+
Internally the formula doesn't change, all that changes is how it's displayed and edited by the author. Two different authors using two different languages can view and edit the same formula, with each seeing the appropriate separators and operators for their language.
8484

8585
## Creating a global app
8686
The app you create can adapt to different languages, providing a great user experience for your users around the world.
@@ -90,13 +90,15 @@ The **[Language](functions/function-language.md)** function returns the language
9090

9191
Among other things, you can use **Language** to display translated text for your users. Your app can include a table of translated values in your app:
9292

93-
![](media/global-apps/loc-table.png)
93+
![Table with localized text](media/global-apps/loc-table.png "Table with localized text")
9494

9595
And then use a formula such as the following to pull translated strings from the table:
9696

97-
**LookUp( Table1, TextID = "Hello" && (LanguageTag = Left( Language(), 2 ) || IsBlank( LanguageTag ))).LocalizedText**
97+
```powerapps-dot
98+
LookUp( Table1, TextID = "Hello" && (LanguageTag = Left( Language(), 2 ) || IsBlank( LanguageTag ))).LocalizedText
99+
```
98100

99-
Be aware that translated strings in other languages could be significantly longer than they are in your language. In many cases, the labels and other elements that display the strings in your user interface will need to be wider to accommodate.
101+
Translated strings in other languages could be longer than they are in your language. In many cases, the labels and other elements that display the strings in your user interface will need to be wider to accommodate.
100102

101103
For more information, see the documentation for the **[Language](functions/function-language.md)** function.
102104

@@ -107,10 +109,10 @@ The **[Text](functions/function-text.md)** function formats numbers and dates us
107109

108110
**Text** requires a format string to know how you want to format the number or date. This format string can take one of two forms:
109111

110-
* **A global aware enumeration.** For example, **Text( Now(), DateTimeFormat.LongDate )**. This formula will format the current date in a language appropriate format. This is the preferred way to specify the format string.
112+
* **A global aware enumeration.** For example, **Text( Now(), DateTimeFormat.LongDate )**. This formula will format the current date in a language appropriate format. This method is the preferred way to specify the format string.
111113
* **A custom format string.** For example, **Text( Now(), "[$-en-US]dddd, mmmm dd, yyyy" )** displays the same text as the enumeration when used in the language "en-US". The advantage of the custom format string is that you can specify exactly what you want.
112114

113-
The "[$-en-US]" on the front of the custom format string tells **Text** in which language to interpret the custom format string. This is inserted for you and defaults to your authoring language. Normally you will not need to change this. It is useful when authors from different languages are editing the same app.
115+
The "[$-en-US]" on the front of the custom format string tells **Text** in which language to interpret the custom format string. This string is inserted for you and defaults to your authoring language. Normally you won't need to change this string. It's useful when authors from different languages are editing the same app.
114116

115117
The third argument to **Text** specifies which language to use for the result of the function. The default is the language setting of the current user.
116118

@@ -120,15 +122,15 @@ For more information, see the documentation for the **[Text](functions/function-
120122
There are four functions for reading numbers, dates, and times provided by the user:
121123

122124
* **[Value](functions/function-value.md)**: Converts a number in a text string to a number value.
123-
* **[DateValue](functions/function-datevalue-timevalue.md)**: Converts a date value in a text string to a date/time value. Any time specified in the text string is ignored.
125+
* **[DateValue](functions/function-datevalue-timevalue.md)**: Converts a date value in a text string to a date/time value. Anytime specified in the text string is ignored.
124126
* **[TimeValue](functions/function-datevalue-timevalue.md)**: Converts a time value in a text string to a date/time value. Any date specified in the text string is ignored.
125127
* **[DateTimeValue](functions/function-datevalue-timevalue.md)**: Converts a date and time value in a text string to a date/time value.
126128

127-
If you have used Excel, all of these functions are combined in the single **Value** function. They are broken out here since Power Apps has separate types for date/time values and numbers.
129+
If you have used Excel, all of these functions are combined in the single **Value** function. They're broken out here since Power Apps has separate types for date/time values and numbers.
128130

129131
All of these functions have the same arguments:
130132

131-
* *String, required*: A string from the user. For example a string types into a **Text input** control and read from the control with the **Text** property.
133+
* *String, required*: A string from the user. For example, a string types into a **Text input** control and read from the control with the **Text** property.
132134
* *Language, optional*: The language in which to interpret the *String*. By default, the language setting of the user.
133135

134136
For example:

0 commit comments

Comments
 (0)