icerockdev / moko-resources

Resources access for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
1.08k stars 120 forks source link

Feature Request: Support References in resources #266

Open iamthevoid opened 2 years ago

iamthevoid commented 2 years ago

Sometimes i use reference syntax to declare string to separate differents kinds of usage

<string name="create_password_label_password">@string/password</string>

Now it converts to localizable as

"create_password_label_password" = "@string/password";

I think in ios UI i'll see exactly "@string/password" in place where this string is using. It is not a hard for me to replace reference with value, but would be better if convertation to ios resources will happen more completely than now

XanderZhu commented 8 months ago

Any updates on this issue? It would be very useful to have the possibility to use string references.