목록에서 사용자 정의 열 다국어 사이트의 웹 파트가 사용자 지정 언어 레이블에서 사용하지 않습니다.기본 언어로 유지됩니다

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/98155

문제

지금까지는 상당히 고유 한 문제가되는 것으로 보이는 것입니다. 우리는 기본 언어와 프랑스어로 영어로 다국어 구조화 된 SharePoint 2010 환경을 실행하고 있습니다. 우리는 분산 관계에서 사이트를 설치했지만, 내가 논의하는 문제는 변형 밖에서도 일어납니다.

우리는 두 사이트가 공유 해야하는 변형 (컬렉션 내에서) 외부의 라이브러리를 만들었습니다. 목록보기 웹 파트가 디자이너를 통해 생성되어 각 사이트에 추가하여 목록에 빠르게보기를 제공합니다. 우리가 LIBARY에 있고 프랑스어로 전환 한 경우 열 레이블을 업데이트하여 설정을 기억합니다 (리소스 파일로 인해) 및 언어가 앞뒤로 뒤집 으면 유지됩니다. 그것이 작동하지 않는 곳은 변형 또는 언어가 다르게되는 웹 부분입니다.

언어가 다르면 상자 열이 작동하지만 사용자 정의 열 (모든 사이트 열이 아닌 모든 사이트 열이 아닌 모든 사이트 열이 아닌 모든 사이트 열)은 영어 레이블로 유지됩니다. 브라우저 언어가 변경된 변형이나 외부 내에있는 경우에는 중요하지 않습니다. 항상 영어로 되돌아갑니다. 목록 자체에서 사용 된 동일한 리소스 파일을 사용하지 않는 것과 같습니다.

Custom View를 작성하고 뷰의 열 제목을 변경하는 방법은 아니지만 목록을 수정하지는 않지만 목록 내에서만 작동하며 목록보기에서 발생하지 않았습니다. 나는 그것을 처음으로 올 수 없을 수는 없지만 제대로 내 검색을 수행하지 못하고, 아무도이 문제를 해결할 수 없었습니다. 그렇지 않습니다. 그건 다른 일이며,이 솔루션은 OOTB 또는 사소한 클라이언트 측면으로 성취되어야합니다. 나는 그들이 사무실 365를 조종하고있는 시각적 인 스튜디오를 발사 할 수 없으며 마이그레이션을 위해 "사용자 정의 코드"명령을 "내 코드를 좋아합니다. P)

사전에 감사합니다.

도움이 되었습니까?

해결책

Ok, I have come up with a solution. I edited the XSLT for the web part on the page. I did the following:

  1. Create the variants in the Site Ccollection
  2. Create the library outside of the variants.
  3. Add all the columns you require for the library. It is very important all the columns are there before you move on.
  4. Create a French and English view.
  5. Create the list view web part via designer.
  6. Add the list view web part to each site selecting the appropriate view to use.
  7. Edit the page in SharePoint Designer 2010.
  8. Place cursor in the column you wish to modify.
  9. Click Design in the List View Tools on the ribbon.
  10. Then click Customize XSLT and select Customize Item. Select this option otherwise you will generate a LOT of unnecessary XSL code.
  11. You are looking for a piece that resembles the following:

    <xsl:with-param name="fieldtitle">
      <xsl:value-of select="@DisplayName"/>
    </xsl:with-param>
    
  12. 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>
    
  13. Now, for this page only, the column will be renamed.

There are some caveats:

  1. 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.
  2. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top