# 2 multiple substitutions still specified in non positional format

**URL:** <https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243>\
**Category:** Android\
**Created:** [January 26, 2022, 7:26pm UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243 "2022-01-26T19:26:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.diament](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.diament/32/3259_2.png) [@a.diament](https://devforum.zoom.us/u/a.diament)\
**Post date:** [January 26, 2022, 7:26pm UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/1 "2022-01-26T19:26:07Z")

</div>

**Description**  
I am producing a binding library for Xamarin Forms. I need to include the mobilertc.aar file in the binding project. There are some errors in the resource files concerning placeholders stopping my binding project building. Most values.xml files have been updated recently with correct positional parameter syntax for multiple parameters. This is great. Instead of ‘$s some text $s’ it is now correctly ‘%1$s some text %2$s’.

However there are two missing strings still erroring when trying to bind a library. It occurs when there are both a $s and a $d in the same string. This case must have been missed in the automated cleanup script. There are also others still with multiple $s’s, see my comment below.

The two resource keys with errors are

zm\_join\_meeting\_fail\_dialog\_msg\_164409  
was  
` <string name="zm_join_meeting_fail_dialog_msg_164409">%s (Error Code: %d)</string>`  
should be  
`<string name="zm_join_meeting_fail_dialog_msg_164409">%1$s (Error Code: %2$d)</string>`

and  
zm\_accessibility\_reacion\_label\_233717 - similar error

**Which Android Meeting SDK version?**  
5.9.1.3674

**To Reproduce(If applicable)**  
Open the file values.xml and search for the strings. This regex will find strings with more than one $[PLACEHOLDER] character in any order. The regex could be improved to only match the placeholders themselves.

%[a-z].+%[a-z]

There is also a resource key in the values.xml (english) file with an invalid whitespace character

zm\_alert\_remind\_archived\_content\_meeting\_267230

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/656fd050de82a4c02b14d3fa1e56b6853aa7a22e.png)

---

<div class="post-metadata">

**Author:** ![a.diament](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.diament/32/3259_2.png) [@a.diament](https://devforum.zoom.us/u/a.diament)\
**Post date:** [February 3, 2022, 1:51pm UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/2 "2022-02-03T13:51:29Z")

</div>

@jon.zoom hi! Hope you’re doing well. Do you have any update on this please?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 4, 2022, 7:23pm UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/3 "2022-02-04T19:23:58Z")

</div>

Hi @a.diament,

We have a ticket for this work, but have not yet prioritized and assigned it to a release. I will keep you updated if I hear anything.

Thanks!

---

<div class="post-metadata">

**Author:** ![a.diament](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.diament/32/3259_2.png) [@a.diament](https://devforum.zoom.us/u/a.diament)\
**Post date:** [February 22, 2022, 8:29am UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/4 "2022-02-22T08:29:58Z")

</div>

Any update here @jon.zoom ? Thanks

---

<div class="post-metadata">

**Author:** ![a.diament](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/a.diament/32/3259_2.png) [@a.diament](https://devforum.zoom.us/u/a.diament)\
**Post date:** [February 22, 2022, 10:41am UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/5 "2022-02-22T10:41:55Z")

</div>

I found additional error resource keys that need fixing: these all have two $s’s in

zm\_msg\_join\_meeting\_terms\_and\_privacy\_283791  
zm\_msg\_log\_off\_tips\_1\_day\_273365  
zm\_msg\_log\_off\_tips\_5\_min\_273365  
zm\_text\_mfa\_sms\_resend\_176897

These appear to have been added since the fix that was introduced in the last version. Is it possible some teams are adding placeholders correctly, and other teams working on the same file are still doing it in the old way?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 23, 2022, 9:36pm UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/6 "2022-02-23T21:36:04Z")

</div>

Hi @a.diament,

We do not have any updated timelines on this yet. I will be sure to let you know once anything changes on this front. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 26, 2022, 7:36am UTC](https://devforum.zoom.us/t/2-multiple-substitutions-still-specified-in-non-positional-format/63243/7 "2022-03-26T07:36:55Z")

</div>

Closed on March 26, 2022, 7:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
