You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-10/pluggable-widgets/_index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -332,7 +332,7 @@ Translations for a pluggable widget can be provided in two ways: in the widget p
332
332
333
333
### Providing Translations in a Pluggable Widget Package
334
334
335
-
To support a translation for a specific language and locale, create a *locales/{language-code}/{widget ID}.json* or *locales/{language-code}/translation.json* file. The language code can be any of the user interface languages supported by Studio Pro, such as *en-US*, *ja-JP*, *ko-KR*, or *zh-CN*. Other files in the **locales** folder will be ignored. As a result, custom namespaces cannot be used. We recommend using *translation.json*, unless your .MPK contains multiple pluggable widgets. Note that if you use the widget ID as the file name, you will have to replace any spaces and illegal path characters (if there are any) with underscores. The file name should be all lower case. For example, if your widget ID is *%My Pluggable Widget%*, the name of the file should be **my_pluggable_widget*.json*.
335
+
To support a translation for a specific language and locale, create a *locales/{language-code}/{widget ID}.json* or *locales/{language-code}/translation.json* file. The language code can be any of the user interface languages supported by Studio Pro, such as *en-US*, *ja-JP*, *ko-KR*, or *zh-CN*. Other files in the **locales** folder will be ignored. As a result, custom namespaces cannot be used. We recommend using *translation.json*, unless your .MPK contains multiple pluggable widgets. Note that if you use the widget ID as the file name, you will have to replace any spaces and illegal path characters (if there are any) with underscores. The file name should be all lower case. For example, if your widget ID is *%My Pluggable Widget%*, the name of the file should be `_my_pluggable_widget_.json`.
336
336
337
337
These JSON files follow the format used by the i18next library, specifically v3. For more information, see [the i18nest JSON documentation](https://www.i18next.com/misc/json-format). For example, to translate a widget with the name *Text Box* that has a property *length*, the contents of *locales/ko-KR/translation.json* might look something like this example:
338
338
@@ -347,7 +347,7 @@ These JSON files follow the format used by the i18next library, specifically v3.
347
347
348
348
Translations for a pluggable widget can also be provided by a module. This can be useful when you would like to provide a module that has more than one pluggable widget, or if your pluggable widget uses one or more [/apidocs-mxsdk/apidocs/frontend/design-properties/](design properties).
349
349
350
-
To achieve this, create a *locales/{language-code}/{widget ID}.json* file in the **Styling** folder of your module. You will have to replace any spaces and illegal path characters (if there are any) with underscores. The file name should be all lower case. For example, if your widget ID is *%My Pluggable Widget%*, the name of the file should be **my_pluggable_widget*.json*. In addition, create a *locales/metadata.json* file. The resulting structure will look something like this example:
350
+
To achieve this, create a *locales/{language-code}/{widget ID}.json* file in the **Styling** folder of your module. You will have to replace any spaces and illegal path characters (if there are any) with underscores. The file name should be all lower case. For example, if your widget ID is *%My Pluggable Widget%*, the name of the file should be `_my_pluggable_widget_.json`. In addition, create a *locales/metadata.json* file. The resulting structure will look something like this example:
351
351
352
352
{{< figure src="/attachments/apidocs-mxsdk/apidocs/pluggable-widgets/translations.png" alt="A metadata.json file in the Styling/locales folder and a custom.widget.id.json file in the Styling/locales/ko-KR folder" class="no-border" max-width=50% >}}
Copy file name to clipboardExpand all lines: content/en/docs/releasenotes/studio-pro/11/11.0.md
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,12 @@ For details on upgrading to Studio Pro 11, see [Upgrading from Mendix Studio Pro
22
22
* We introduced a new message for Maia generation sessions. It allows to either navigate back to the document related to a session or create a new **Generate** session for the currently active document.
23
23
* We updated the filter button in the **Go to...** dialog to show active filters if any.
24
24
* In the logic editors, pressing <kbd>Shift</kbd> while dragging objects from the **App Explorer**, **Toolbox** or the toolbar will disable snapping the objects to other objects.
25
-
26
25
* We released workflow interrupting [boundary events](/refguide/workflow-boundary-events/) for general availability (GA). With this new type of boundary event, the workflow can interrupt modeled flows when the timer has expired and start an alternate flow.
27
26
* We now support recurrence on non-interrupting boundary events. You can set an initial execution time, specify how many times the boundary event should recur, and define the interval between executions, which can range from minutes to months.
28
27
* The feature to access online data in offline apps is now generally available. For more information, see [Offline-First Data](/refguide/mobile/building-efficient-mobile-apps/offlinefirst-data/#intro).
29
28
* We introduced the OQL Query, a user-friendly interface that represents a view entity and enables users to define and manage OQL queries.
30
29
* We enabled native mobile builds for PMP customers.
31
30
* We updated the version of Mendix apps that can be opened with Mendix 11.0.0 and above. Now to open (and if necessary to convert) an app in Mendix 11.0.0 and above, the app should be Mendix version 10.21.0 or above.
32
-
33
31
* You can now use the <kbd>Back</kbd> and <kbd>Forward</kbd> mouse buttons to navigate through the history of active editors in Studio Pro—if your mouse has them.
34
32
* We added support for retrieving the CSRF token using the new client API. You can now use `getCSRFToken` from `mx-api/session` to get the token, which is required when calling secured REST services.
35
33
* We added a selector to the **Edit view entity** dialog that allows you to specify a user for who you want to see the live preview. This allows you to preview queries that use the `[%CurrentUser%]` token.
@@ -54,7 +52,6 @@ For details on upgrading to Studio Pro 11, see [Upgrading from Mendix Studio Pro
54
52
### Improvements
55
53
56
54
* We improved the validation of the default value for an AutoNumber attribute in Studio Pro. It now allows values larger than 2,147,483,647. (Ticket 240734).
57
-
58
55
* The text in the dialog displayed when a page cannot be found is now translatable. (Ticket 242035)
59
56
* We improved the performance of workflow versioning conflict analysis for workflows with many nested outcome-based activities. (Ticket 242615)
60
57
* We added error logging when a page fails to be loaded in the React client when navigating to it. This can happen when a page includes a widget with a corrupted bundle. (Ticket 245516)
@@ -81,7 +78,6 @@ For details on upgrading to Studio Pro 11, see [Upgrading from Mendix Studio Pro
81
78
* We aligned the preview values of page and snippet variables between structure and design mode.
82
79
* We made it easier to use widget action variables when configuring parameter mappings for **Call a Microflow** and **Call a Nanoflow** actions.
83
80
* We changed the default **Role Type** in the **Accessibility** section of **Properties** from the **Link Button** to **Link.** This **Role Type** was set to **Link Button** by default while functionally it is a link.
84
-
85
81
* In the Consumed REST Service, it is now possible to define the body content in different ways. You can select **Create Entity (JSON)** that allows you to convert the JSON file to an entity and use that as input for your **Send REST Request** activity. You can also select **Use as template** to send text content. Parameters in the text are supported by surrounding them with curly braces, for example `{my_param}`.
86
82
* We added a progress indicator to the **Create entity** button in the response and the body structure of Consumed REST service document.
87
83
* We added a new entity to the System module called **WorkflowEndedUserTask**. Whenever a workflow user task ends (including both **Finished** and **Aborted**) a data about the task is saved in this new entity.
@@ -187,7 +183,6 @@ For details on upgrading to Studio Pro 11, see [Upgrading from Mendix Studio Pro
187
183
* We fixed the issue that microflows using online data where not possible in native pages.
188
184
* We fixed an issue where converting a nanoflow to a microflow did not trigger a warning when the nanoflow was used in a native layout.
189
185
* We block starting the app when there are still file documents on the local file system which are created before Mendix 5.12. Make sure all files are migrated before upgrading to this version. Files are migrated automatically in the background when running apps on Mendix versions since 8.14.0.
190
-
191
186
* We fixed an issue that caused all the widgets to shift to the right in Design mode on React Client enabled.
192
187
* We fixed an issue where metadata got corrupted when special characters were present.
193
188
* We fixed an issue where the **Revert change** option was missing for deleted files in the **Changes** pane.
@@ -251,7 +246,6 @@ For details on upgrading to Studio Pro 11, see [Upgrading from Mendix Studio Pro
251
246
* We deprecated the Document templates and the **Generate Document** actions. For information on migrating to supported methods, see [Document Templates](/refguide/document-templates/).
252
247
* We deprecated the method `com.mendix.core.actionmanagement.EventActionInfo#representsFunction()`. Use the `function()` method to check whether the `EventActionInfo` instance represents a function.
253
248
* We deprecated the following methods of the class `com.mendix.core.actionmanagement.internal.InternalCoreAction`: `addDatavalidationFeedback(IMendixIdentifier, Map<String, String>)`, `addDataValidationFeedback(DataValidationInfo)`, `handleConcurrentExecution()`, `setEventObjects(List<IMendixObject>)`, `setMetaInfo(JSONObject)`, `setActionName(String)`, `getException()`, `setException(Exception)`, `getState()`, `setState(ActionState)`, `setAllowsConcurrentExecution(Boolean)`, `clone()`. There is no replacement as these method were meant for internal usage only.
254
-
255
249
* We deprecated the `FeedbackHelper.OpenFormFeedback` methods with the `currentIdentifier` argument. Please use the methods where arguments for the page are passed as a `Map`.
256
250
* We have deprecated the `com.mendix.core.actionmanagement.internal.InternalCoreAction#setContext(IContext)` method. There is no replacement, this method was meant for internal usage only.
257
251
* We deprecated the Dojo Client. Please switch to the React Client. For more information, see the Mendix React Client’s [Migration Guide](/refguide/mendix-client/react/#migration-guide).
0 commit comments