YAFLogo

slipperybeans
16 years ago
I came across an error for someone who had Chinese set as their local language.

The formatting of the last post stats via controls/ForumStatistics.ascx.cs throws off an error. I presume it's because the format string pulled from the Chinese.xml file is expecting two parameters ( {0} and {1} ), where the English.xml expects only one ( {0} ).

I did a search on STATS_LASTPOST and it seems there are quite a few xml language files that expect two parameters and some (including English) that only expect one.

What's the best way to address this issue?

Sponsor
Nico
  • Nico
  • 98% (Exalted)
  • YAF Commander
16 years ago
You are right. I was working on the issue as I'm modifying and adding different tags.

http://forum.yetanotherforum.net/yaf_postsm27098_SOLUTION-beware-to-languages-xml-files-BUG.aspx#post27098