Skip to content

Commit 4f8aa54

Browse files
authored
Escape dollar sign in localization docs. (#1291)
## Changes Escape $ in translate-dynamic-content.md and localize-with-scripting.md. <img width="947" height="339" alt="Screenshot 2025-10-30 182609" src="https://github.com/user-attachments/assets/0ccf75b6-fd5e-4833-9e68-c5e81e6160f6" /> ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate.
1 parent fd8be1c commit 4f8aa54

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

content/en-us/production/localization/localize-with-scripting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ In this example, the experience has a localization table with the following entr
230230
</tr>
231231
<tr>
232232
<td>Key_Prize_2</td>
233-
<td>$&#123;AmountCash:fixed} cash and &#123;NumJewels:int} jewels</td>
234-
<td>$&#123;AmountCash:fixed} dinero y &#123;NumJewels:int} joyas</td>
233+
<td>&#36;&#123;AmountCash:fixed} cash and &#123;NumJewels:int} jewels</td>
234+
<td>&#36;&#123;AmountCash:fixed} dinero y &#123;NumJewels:int} joyas</td>
235235
</tr>
236236
</tbody>
237237
</table>

content/en-us/production/localization/translate-dynamic-content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ In the following example, an experience has the following number related entries
229229
<td>&#123;race_time:fixed} segundos </td>
230230
</tr>
231231
<tr>
232-
<td>$&#123;1:num} cash and &#123;2:int} jewels </td>
233-
<td>$&#123;1:num} dinero y &#123;2:int} joyas </td>
232+
<td>&#36;&#123;1:num} cash and &#123;2:int} jewels </td>
233+
<td>&#36;&#123;1:num} dinero y &#123;2:int} joyas </td>
234234
</tr>
235235
</tbody>
236236
</table>
@@ -250,8 +250,8 @@ If a user has their locale set to **es**, the translation output displays as fol
250250
<td>75,20 segundos</td>
251251
</tr>
252252
<tr>
253-
<td>$2500.5 cash and 99.8 jewels</td>
254-
<td>$2.500,50 dinero y 100 joyas</td>
253+
<td>&#36;2500.5 cash and 99.8 jewels</td>
254+
<td>&#36;2.500,50 dinero y 100 joyas</td>
255255
</tr>
256256
</tbody>
257257
</table>

0 commit comments

Comments
 (0)