Skip to content

Commit 3328aa6

Browse files
authored
Document Locale conversion (#1483)
Signed-off-by: Daniel Kamkha <[email protected]> Signed-off-by: Daniel Kamkha <[email protected]>
1 parent 3b1e1bc commit 3328aa6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/lime_idl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ Container types:
365365
**Note**: Since the `Locale` type is based on ISO-compliant identifiers (as described above), any platform-specific
366366
properties of `Locale` type (e.g. `calendarIdentifier` for Swift) are not preserved on language boundary transition.
367367

368+
**Note**: When converting `Locale` from C++ representation to a platform type, the BCP 47 language tag takes precedence.
369+
I.e. if the tag is present, the ISO codes are ignored during conversion; if the tag is absent, the ISO codes are used.
370+
368371
#### User-defined types
369372

370373
User-defined types are types declared in the same or in another LimeIDL file. There are several ways

0 commit comments

Comments
 (0)