Skip to content

Commit fe4f4da

Browse files
authored
Update function-text.md
1 parent 0470d63 commit fe4f4da

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

powerapps-docs/maker/canvas-apps/functions/function-text.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Converts any value and formats a number or date/time value to a string of text.
2121
The **Text** function formats a number or a date/time value based on one of these types of arguments:
2222

2323
* A predefined date/time format, which you specify by using the **DateTimeFormat** enumeration. For dates and times, this approach is preferred as it automatically adjusts to each user's language and ___location.
24-
* A custom format, which comprises a string of placeholders that define, for example, whether number show a decimal separator. PowerApps supports a subset of the placeholders that Microsoft Excel does. In this string, the first placeholder specifies the language in which to interpret the remaining placeholders. If the custom format includes a period, for example, the language-format placeholder specifies whether the a period is a decimal separator (en-US) or a thousands separator (es-ES).
24+
* A custom format, which comprises a string of placeholders that define, for example, whether numbers show a decimal separator and dates show the full name of the month, the month as an abbreviation, or the month as a number. PowerApps supports a subset of the placeholders that Microsoft Excel does. In this string, the language placeholder specifies the language in which to interpret the other placeholders. If the custom format includes a period, for example, the language-format placeholder specifies whether the period is a decimal separator (ja-JP) or a thousands separator (es-ES).
2525

2626
See [working with dates and times](../show-text-dates-times.md) for more information.
2727

@@ -101,25 +101,25 @@ You can include any of these characters in your format string. They will appear
101101
|   |Space character |
102102

103103
## Global apps
104-
The **Text** function is globally aware. For a wide array of languages, it knows how to properly write out dates, times, currencies, and numbers. To do its job, it needs two pieces of information:
104+
The **Text** function is globally aware. For a wide array of languages, it knows how to properly write out dates, times, currencies, and numbers. To do its job, it needs two pieces of information:
105105

106-
* **The language of the custom format:** For authors, how should a custom format be interpreted? The separator characters (**.** and **,**) have different meanings in different languages. This is handled with a special placeholder containing a language tag. Even easier, the [predefined date/time formats](#predefined-datetime-formats) are language agnostic.
107-
* **The language of the result:** For users, what language should be used in the result of the function? Names for months and weekdays need to be in the appropriate language for the user of the app. This is handled with a third optional argument to the **Text** function.
106+
* **The language of the custom format:** For makers, how should a custom format be interpreted? The separator characters (**.** and **,**) have different meanings in different languages. If you specify a custom format, you start it with the language placeholder. Even easier, you can use one of the [predefined date/time formats](#predefined-datetime-formats), which are language agnostic.
107+
* **The language of the result:** For users, in what language should the function result appear? Names of months and weekdays must be in the appropriate language for the user of the app, which you can specify by adding a third argument (optional) to the **Text** function.
108108

109-
For both, the language is provided with a [language tag](function-language.md#language-tags). To see the list of supported languages type **Text( 1234, "", )** in the formula bar or advanced view and scroll through the list of locales suggested for the third argument.
109+
For both, the language is provided with a [language tag](function-language.md#language-tags). To see the list of supported languages type **Text( 1234, "", )** in the formula bar or the **Advanced** tab of the right-hand pane, and then scroll through the list of locales suggested for the third argument.
110110

111-
#### Language-region placeholder
111+
### Language placeholder
112112
To specify the language of the custom format, use:
113113

114114
| Placeholder | Description |
115115
| --- | --- |
116-
| **[$-*LanguageTag*]** |*LanguageTag* is a language tag as returned from the **Language** function. It can be in the form of just the language such as **[$-en]** for English, or it can also include the region such as **[$-en-GB]** to further specify Great Britain. |
116+
| **[$-*LanguageTag*]** |*LanguageTag* is a language tag as returned from the **Language** function. It specify just the language (such as **[$-en]** for English), or it can also specify the region (such as **[$-en-GB]** to further specify Great Britain). |
117117

118-
The language-region placeholder can appear anywhere in the custom format but only once.
118+
The language placeholder can appear anywhere in the custom format but only once.
119119

120-
While writing a formula, if you do not provide a language placeholder and the format string is ambiguous from a global standpoint, the authoring tool will automatically insert the language tag for your current language.
120+
While writing a formula, if you don't provide a language placeholder and the format string is ambiguous from a global standpoint, the authoring tool will automatically insert the language tag for your current language.
121121

122-
**[$-en-US]** is assumed if this placeholder is not present when your app is run.
122+
**[$-en-US]** is assumed if this placeholder isn't present when your app is run.
123123

124124
> [!NOTE]
125125
> In a future version, the syntax of this placeholder may change to avoid confusion with a similar, but different, placeholder supported by Excel.

0 commit comments

Comments
 (0)