Skip to main content

Stramit's SharePoint Blog

Go Search
My SharePoint Us Blog
My Day2Day French Blog : TheMit
  

Other Blogs
There are no items in this list.
Renaud Comte's US Blog dedicated to "SharePoint coding and practice"
Lcid, Language identifiers & tag : the common list

One of my customer ask me to prepare a WSP with some variations of its WSS site definition for a world deployment like

  • US
  • France
  • China
  • Russian

Not very a big deal but what is the common LCID and Language identifiers for the different Webtemp and Resx files ?

You know the famous

  • TEMPLATE
    • [LCID]
      • XML
  • Resources
    • yourFile. [Language tag].resx

Here some very good links from the MSDN to get them :

If you mix the 2 links you can have a large new matrix like this one :

Language - Country/Region

Language tag

LCID

English - United States

EN-US

1033

French - France

FR-FR

1036

German - Germany

DE-DE

1031

Japanese -  Japan 

JA-JP

1041

Portuguese - Brazil

BR-PT

1046

Arabic - Saudi Arabia

AR-SA 

1025

Hebrew - Israel

HE-IL

1037

Chinese - People's Republic of China

ZH-CN

2052

Chinese - Taiwan

ZH-TW

1028

Chinese - Hong Kong SAR

ZH-HK

3076

Chinese - Singapore

ZH-SG

4100

Korean - Korea

KO-KR

1042

Italian - Italy

IT-IT

1040

Spanish - Spain

ES-ES

3082

Polish - Poland

PL-PL

1045

Russian - Russia

RU-RU

1049

Thai - Thailand

TH-TH

1054

   

As some people complain for more "items", and specially, European one,… Here's some update J

 

Language - Country/Region

Language tag

LCID

French - Belgium

FR-BE

2060

Dutch - Belgium

NL-BE

2067

French - Belgium

FR-BE

2060

Dutch - Netherlands

NL-NL

1043

Catalan

CA

1027

Basque

EU

1069

Croatian

HR

1050

Afrikaans

AF

1078

French - Luxembourg

FR-LU

5132

French - Switzerland

FR-CH

4108

German - Switzerland

DE-CH

2055

Italian - Switzerland

IT-CH

2064

If you want more, here a new link, very rich :

I stop the post here and hope that my friend and coworkers in France/Switzerland/Belgium are now happy ! ;)

Last thing, if you're a fan of powershell, try this :

[System.Globalization.CultureInfo]::GetCultures([System.Globalization.CultureTypes]::AllCultures) | Sort-Object Name

[System.Globalization.CultureInfo]::GetCultures([System.Globalization.CultureTypes]::AllCultures) | Where-Object {$_.Nathame -like "*-be"}

(Thanks coq)

Renaud Comte aka TheMit (Wolrdwide deployement)
Member of WygTeam
http://www.wygwam.com

The 5 new Master Pages : Fix the CSS for the Treeview

As you certainly know, Microsoft has released 5 new Master Pages for WSS

http://www.microsoft.com/downloads/details.aspx?familyid=7c05ca44-869a-463b-84d7-57b053711a96&displaylang=en&tm

One very cool thing about this different Master is their really nice look & feel. But if you're more a Web Developer, perhaps have you seen the html source code ?

It's fully CSS !!!!

A perfect NO TABLE MasterPage with a 25 differents CSS that you can customize !!!

But they are 2 issues ….

  1. The CSS doesn't manage well the Treeview when you're open a list or a sub site …

  2. These Master Page needs to be deployed manually with SharePoint Designer

No worry, think community J

I take some time to sort out these weird issues

Here the Fix one
>>> the problem comes from a little CSS error

You just need to update the different Template_Layout*.css with this :

.ms-treeviewouter div div {

width:20px !important;

}

This CSS Class will fix the style inheritance from this class :

/* tree view */

.ms-treeviewouter div {

width:178px !important;

height:auto !important;

border-width:0px !important;

}

 

>>> In fact, I really think it was just a problem of testing.

It's work great with a classical and fresh Team Site

But with a large treeview with some folder and some subsite….

A big thanks to my colleague Aurelien for tracing this annoying / hidden bug

And for issue number 2 ?
>>> … just wait some days. I need to finish a full feature/solution version of these Master page

A good thing to use with the V2 of the Master picker no ?

Renaud Comte aka TheMit (Back in US Posting)
Member of WygTeam
http://www.wygwam.com

A super tool : Content Explorer aka CTExplorer

I just found a super set of post about Content Type, XML and Feature on the SharePoint Dev and ITPro (German)

Ok ok, i know, there's not a lot of German/French reader all over the world, but believe me, just the source code and the example are nice to see !

And there's a conclusion of this posting :

A super tool to explore and EXPORT AS A FEATURE all your custom Content Type

A kind of brother of my CAMLViewer no ?

Here's the links :

Beware of something : this tool is to use directly on a FrontWeb Server not on a XP laptop.

Reanud Comte aka TheMit

SSRS and SharePoint : a Hit
Yesterday, my friend, coWorker and french MVP Fabrice Romelard has presented a session about SSRS and SharePoint for the TechDays in Geneva
 
 
>>> A terrific session about a terrific product
 
Clearly, SSRS And MOSS is a Must Have Tool !
 
I found some very cool post on this subject from Liam Cleary.
 
Just have a look and a VPC ;)
 Renaud Comte aka TheMit
Stramit SharePoint 2007 Master Picker : RTM

It takes me times but i just release the 1.1 version for my master picker

Stramit SharePoint 2007 Master Picker 1.1 for RTM

I fix several bug, change interface, add ressource and also manage no-us site.

I put everything into a fresh Visual Studio 2005 Solution with Batch and all the ddf, XML manifest you need to build yourself a WSP J

Feel free to use it
>>> very useful if you want to manage some skin or learn how to use solution, feature and aspx

Just one issue : the layout's page is in english only. I search a way to include resx fiel but it seems that WSP can deploy resx into GlobalRessource. Not a big deal, i will release a manual update if you want to use « localized » version

Stay tuned

Renaud Comte aka TheMit (SPcoder)

Welcome back to my new US SPBlog !

So long time since my last US post …

Sorry for that but the friend who host my old US blog has an another crash …
A very brutal one : Mother card and HD in same time.

No more blog and worst of all : he losts the DB file !!! :°(
>>> sorry but now only Google memory has some cache of my last 3 years of US posting

It's sad, very… But I'm an a kind of positive guy : Now I can start a fresh WSS blog on WSS J

Last good news : as I used Live Writer with .Text since 3 month, I've got in local cache my last 3 months of posts
>>> I will repost them quickly on the site

Nice to see you again on the feeds

Renaud Comte aka TheMit (SPback again)

I've been Tagged - five things you might not know about me

Yep, like 38,000,000 other people, i've been tagged. Thanks Mike Glaser

So... 5 things you might not know about me

  1. I drive one of the most beautiful cool car in the Wolrd : the Audi TT
    >>> I love this car since i see it the first time at its launch in the Geneva ShowCar. I remember i said "one day , i will have one". 6 years after, it's real !!! 
    It's one of the reason that some friend call me the inTTegrator
     
  2. I practice and try every snow sport since i was 2
    >>> Ski, Nordic Ski, freeride Ski, Speed Ski, Surf, free ride surf, snowblade... : i 'm a Snow Rider for life
    But definitely, my favorite would be ever the SKWAL (7 years of pratice)

    http://www.skwalzone.org

     
  3. I touch my first computer at... 22 years
    >>> At my school of engineer, one teacher ask me to write my CV on Word. As i said that i don't know what is Word, i think that i made a joke. but it was true. I have to ask him to explain me waht is "Windows" or even a mouse.
     So he decide to make my life a hell as i "even don't know what is a PC". I buy a small PC, take nights and nights to understand.... And now i working on SharePoint Technologies, making training, coding and even session. Guess what ? This teacher is still sure that i don't know what is a PC .
     
  4. When i was teenager, doctor discover that my little sister has an orphan or rare disease ...
    >>>  Relapsing polychondritis 1 case on 1 billion and no one have a clean cure ...
    After 10 years of different treatments, the disease stops and now my sister is OK.
    So now, i always take every days as a good day and i understand better why health is so important
     
  5. Where comes from my nickname "Stramit"?
    >>> Easy, it's a brand of Archery target. As i practice also Archery for years and always carry one with me, friend give me this nickname

    (my stramit at 25 meters)

So now it's done. who's next ? ...

Renaud Comte aka TheMit ( < TAGGED />)

Technorati tags: Five Things You May Not Know About Me, SharePoint

[CAML Diary] How to create sub folder into a document library ?

I 'm still playing with Caml.

This time, i decide to write some feature to make demo of one of my codeplex project.

This feature need to generate some demo library with custom pages.

And i find something interesting, that complete very well my post on [Caml diary] Use a feature to create a Page library

In fact, create Folder into a Document library in CAML is very easy, you just need the Module tag into your feature : no event receiver or custom code ,

<Module List="101" Path="PageTemplates" Url="DemoPages/DemoFolder" /> <Module List="101" Path="PageTemplates" Url="DemoPages/DemoFolder/SubDemo1" /> <Module List="101" Path="PageTemplates" Url="DemoPages/DemoFolder/SubDemo2" />

And you will create a Folder "DemoFolder" with into 2 sub folder
>>> You don't need files tag, only module

Sometimes, CAML is so simple

Renaud Comte aka TheMit (il love the feature "Feature")

Technorati tags: , , ,
2007 : Start with Snow, Oyster and MVP renewal
Happy new Year to everyone and happyness : "Plein de bonheur à tous"

I start 2007 like the 20 last years : Working in my father restaurant in France : Seafood and Oyster

300 Seafood plate in one week !!!!!
Even the local newspaper spoke about it

 

But don't be afraid, i won't change of job. i take some time to code also

- rebuild the Master Picker for RTM and use Feature, Resx and WSP

- same job for my future Tabspart.

And of course, some SKI riding, i live in the French Alps so

See you soon and, again Happy New Year.

....

Oh, one more thing, just nothing

My MVP status has been renewed


>>> 3 times  : NICEEEEE !!!

++

Renaud Comte aka TheMit( Oyster Machine Guy)

Create your own solution for SharePoint by Andrew Connell (+ fix)

Actually, i'm working on packaging my latest codeplex project : Stramit.TabsPart.

Like Jan and its wonderful SmartPart, i decide to use a custom Solution.

If you clearly look after the VSeWSS (Visual Studio Extension for WSS), everything is auto generated and you can't edit the feature or the .webpart you want to attach with you dll.

So, i build my own method to create a "real and useful" way to write SharePoint WebPart and using a custom solution for deployment :

  • writing the .webpart
  • writing a feature
  • writing a DDF file
  • writing a Solution Manifest
  • use the makecab
  • call stsadm operation

Actually, everything works very great and i will release soon this project and blog about the way i generate the solution

Then, i found this great post of Andrew Connell

 
Clear and deeply explained
 
So if you are interesting about writing custom solution : read this post first.
 
Honnestly, i use the same way but not MSbuilt :
>>> I prefer use some bat file to generate package than using MSBuild at the end (in this case, i can redeploy things directly on a server without VS 2005 on it)
 
I will post soon also my WSP experience to give you more feedback .
 
Here's also some Fix about Andrew post when i try to make it works on my dev VPC
  1. You need to re-configure your VS 2005 to show by default Solution
    >>> without this option, you can't access to "Load/Unload project". It's only appear if you have access to the solution.

  2. Use the 2005 schema if your build generate error, Andrew use 2003 in its example
    <?xml version="1.0" encoding="utf-8" ?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2005" DefaultTargets="SharePointFeaturePackage">

Renaud Comte aka TheMit (fix fix fix everything then blog it)

Technorati tags: , , ,
1 - 10 Next

 ‭(Hidden)‬ Admin Links