Ok, I have come up with a solution. I edited the XSLT for the web part on the page. I did the following:
- Create the variants in the Site Ccollection
- Create the library outside of the variants.
- Add all the columns you require for the library. It is very important all the columns are there before you move on.
- Create a French and English view.
- Create the list view web part via designer.
- Add the list view web part to each site selecting the appropriate view to use.
- Edit the page in SharePoint Designer 2010.
- Place cursor in the column you wish to modify.
- Click Design in the List View Tools on the ribbon.
- Then click Customize XSLT and select Customize Item. Select this option otherwise you will generate a LOT of unnecessary XSL code.
You are looking for a piece that resembles the following:
<xsl:with-param name="fieldtitle"> <xsl:value-of select="@DisplayName"/> </xsl:with-param>
Modify it by typing in the actual column name you want. You should end up with something like this:
<xsl:with-param name="fieldtitle"> New Column Name. </xsl:with-param>
Now, for this page only, the column will be renamed.
There are some caveats:
- Doesn’t appear to work in a publishing portal. I think this has to do with how SP stores the pages in this case. In a publishing portal you can only modify the page layout which won’t work as we need to modify the content.
- If you add another column, you will need to repeat the XSLT modification
Anyways, I hope this helps out any others with the same issue or need as I had.