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
The idea is to allow Parameter in template to be used in DefaultLCID attribute. If we try to use parameter, we have this error message :
The 'DefaultLCID' attribute is invalid - The value '{parameter:LCID}' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:int' - The string '{parameter:LCID}' is not a valid Int32 value.
This will avoid the fact to have a template file by Language just to define default language and simplify template file lifecycle.
<pnp:Localizations DefaultLCID="{parameter:LCID}"> <pnp:Localization LCID="1033" Name="English" ResourceFile="clt-projectv3.en-US.resx" /> <pnp:Localization LCID="1036" Name="French" ResourceFile="clt-projectv3.fr-FR.resx" /> </pnp:Localizations>
Describe alternatives you've considered
Currently, i create a template file by language. Painfull when you have 6 languages to handle.
Additional context
Parameter works on Currency field :
The text was updated successfully, but these errors were encountered:
Hello.
The idea is to allow Parameter in template to be used in DefaultLCID attribute. If we try to use parameter, we have this error message :
The 'DefaultLCID' attribute is invalid - The value '{parameter:LCID}' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:int' - The string '{parameter:LCID}' is not a valid Int32 value.
This will avoid the fact to have a template file by Language just to define default language and simplify template file lifecycle.
Replace
<pnp:Localizations DefaultLCID="1033"> <pnp:Localization LCID="1033" Name="English" ResourceFile="clt-projectv3.en-US.resx" /> <pnp:Localization LCID="1036" Name="French" ResourceFile="clt-projectv3.fr-FR.resx" /> </pnp:Localizations>
by
<pnp:Localizations DefaultLCID="{parameter:LCID}"> <pnp:Localization LCID="1033" Name="English" ResourceFile="clt-projectv3.en-US.resx" /> <pnp:Localization LCID="1036" Name="French" ResourceFile="clt-projectv3.fr-FR.resx" /> </pnp:Localizations>
Describe alternatives you've considered
Currently, i create a template file by language. Painfull when you have 6 languages to handle.
Additional context
Parameter works on Currency field :
The text was updated successfully, but these errors were encountered: