Got challenged trying to version control config files named by dictionary names containing special chars i.e. æøå in danish.
Could uSync perhaps use the same rewrite settings as Umbraco does for URL's in naming convetions?
I'm well aware that if I create two dictionary items (køb and koeb) both would be named koeb.config in the uSync export. Further more, to be honest, I don't know how to get around that!
The biggie is, that I'd like to name dictionary items in Danish for danish editors to grap, but it crashes my HG repo on i.e. a mac, or a russion PC due to character encoding differenses.
And isn't it just good costume to keep special chars out of file names :-)
Hope to get some feedback on this, as I for now just disabled the dictionary part of usync... And I miss it.
I am the first to admit, i'm not that great with the multilingual stuff, it's not something i've personally had cause to use - just so i understand,
uSync only writes out the top level file for dictionary items because the export includes all child items. so the path is just to that top file name.
at the moment it just takes the name and that can have encoded characters in it ?
i've just done some experimentation with Umbraco default CleanStringForSafeFileName and CleanStringForSafeAlias function and that doesn't remove the encoded characters - so i still have a køb.config file.
not sure if you are aware of other clean functions already in umbraco ?
Special characters in i.e. dictionary names
Hey,
Got challenged trying to version control config files named by dictionary names containing special chars i.e. æøå in danish.
Could uSync perhaps use the same rewrite settings as Umbraco does for URL's in naming convetions?
I'm well aware that if I create two dictionary items (køb and koeb) both would be named koeb.config in the uSync export. Further more, to be honest, I don't know how to get around that!
The biggie is, that I'd like to name dictionary items in Danish for danish editors to grap, but it crashes my HG repo on i.e. a mac, or a russion PC due to character encoding differenses.
And isn't it just good costume to keep special chars out of file names :-)
Hope to get some feedback on this, as I for now just disabled the dictionary part of usync... And I miss it.
BTW... This is a freckin' awesome plugin!
Hi
I am the first to admit, i'm not that great with the multilingual stuff, it's not something i've personally had cause to use - just so i understand,
uSync only writes out the top level file for dictionary items because the export includes all child items. so the path is just to that top file name.
at the moment it just takes the name and that can have encoded characters in it ?
i've just done some experimentation with Umbraco default
CleanStringForSafeFileName
andCleanStringForSafeAlias
function and that doesn't remove the encoded characters - so i still have a køb.config file.not sure if you are aware of other clean functions already in umbraco ?
OK - ignore that. 1.5.4 does some conversion of the file name to ASCII - let me know if this works for you
Kevin... You da man! For real!
is working on a reply...