Multilanguage website in umbraco and content publish dates - umbraco

I have a multilanguage website in umbraco (developed according to this article). My problem is that the english version content was copied to the 'en' node some time after the content in original language was created. The problem is however, that now all news in english have the same date, which is not the equivalent of the original news date. Now my question is: is it possible for the english content (especialy news nodes) to have the same publish/create dates as they are on the original language site and not the date on which they were copied?

Basically you want to do a mass update on the publish dates. There are two packages that I've used that would help you to do this.
First CMSImport (http://our.umbraco.org/projects/developer-tools/cmsimport)
Set up a file that contains the new date and something unique about each post and you can use it to do a mass update of the dates.
Secondly Content Maintenance Dashboard (http://our.umbraco.org/projects/developer-tools/content-maintenance-dashboard-package)
Which is newer and should allow you to easily check how the changes have been processed.
The free version of both packages should sort you out.

Related

IMPORTRANGE cannot be used along with normal filtering system

I have a website in English that I just translated in multiple languages.
For my English website, I have a dashboard where I track the performance of all my URLs on a monthly basis. I update this list when a new article is being published. Now, every time a new articles is published in English, it will be automatically translated in other languages and a new URL will be added to my website.
I'm trying to find a way to mirror my English report for all the other languages without having to maintain the URLs list the same way I do with English.
I thought using an IMPORTRANGE from my English master file where I will grab the list of URLs would be the best solution. However, by doing this, I won't be able to use the filter in my other dashboards.
Any suggestion on how to achieve this?
I've made a sample sheet to quickly show my issue.
If you have an imported range and manually input data, you won't be able to "join" them for the sorting part inside the filter. I was asking you if source data would remain in the same order, because if it does (meaning your new data will be "aligned" row by row with your manually input sales), you can sort and filter the range via formula in another column:
=SORT(A2:B,2,0)
With some filter:
=SORT(FILTER(A2:B,B2:B>=10),2,0)

How to Create Name Labels and Map Them to Data Source Items in Tableau Desktop?

I have a list of locale names for the languages being used in the reports. Without making any changes in the Excel or the Data Source, can I create a new set of language names that are more user friendly for non-technical, business people who will be using the reports?
To explain this further, I would like the names under Target Language to be displayed as Arabic, Czech, German, English, etc.
The card/filter is used in more than one worksheet, so I'd like to have a global option to apply wherever needed. (I've deleted the other fields/table names for privacy reasons)
I already tried googling and checking Tableau Help Center, and also this other post on Stackoverflow, but those don't really answer my question and I'm still not clear on how to do this.

Kentico (v10) Scrolling news widget - change US > UK date format

I'm using Kentico CMS v10, and the Scrolling News widget (for Corporate Site). The underlying news articles display with the date in UK format, as per our site culture and user culture, but the "Scrolling News" widget always displays in US date format.
I am guessing I just haven't found the correct place to configure the Culture/TimeZone for this widget... but I cannot find anywhere to do so!
Any ideas gratefully received.
Firstly I would advise to NOT use the default sample elements (if they ever get updated or removed by official upgrade or hotfix it might break your site). I suggest you make a clone of the widget and create your own custom transformation.
Apart from the above in the sample it uses transformation "CorporateSite.Transformations.NewsHome"
which you can locate in the page type application:
here you can update it to a format you please.

Kentico LanguageDataSource not returning all languages

We upgraded from Kentico 8.2 to (9 and then to) 10 and lost our Language Selector. It was in our master page and appears throughout our site. We've switched to the LanguageDataSource but it was not returning all available languages. Rather, it was returning only the languages into which the current page was translated. In other words, if the current page has English and German versions, the language data source would only return English and German, but not Spanish, even though we have Spanish enabled in Kentico.
We found the checkbox which excludes untranslated pages (and defaults to checked) and unchecked it. This appeared to fix the problem, as English/German pages now showed the French option as well. However, we learned that when an unauthenticated user views the same page, (s)he only sees the English and German.
How do we get the language data source to return all available languages, rather than just the languages into which the current page has been translated, and get it to do so for all users, rather than just authenticated users?
This functionality was probably dropped in the version 9. There's probably no way of doing it without a piece of custom code. However, you can recover the abandoned web part as described in the documentation.
It turned out that the master page had two language data sources on it. One was used for desktops and one for mobile. The strange behavior was due to the mobile one having the 'exclude untranslated pages' checked. The result of this was being cached and was also being used in the desktop one. We removed the extra data source (though it probably would have worked fine if we had just unchecked the exclude box in the mobile data source) and the remaining one behaves as desired. Thanks, everyone, for the input.

Streaming API with languages

Is there anyway i can retrieve only English tweets using the Twitter's Live Straeming API?
It seems like using "sample" or "filter" results around 60-70 percent of non-English tweets.
Thanks
Joel
I haven't found a good solution to this, I've solved this using the following:
1) filter by lang attribute equal to "en".
2) I found that several non-english languages are still in the english labelled tweets. So, I downloaded spanish, dutch, and indonesian word lists, and checked for number of non-english word occurrences in tweets. More than 1, and I discard it as non-english.
3) I think I need to filter for portuguese as well, need to investigate this.
Filtering only English-language messages from the twitter stream is an active research area. You could use an off-the-shelf language identification system to locally process the stream and select only messages in English. One such system is langid.py. Full disclosure, I am the author of langid.py.
Another system I know of is ldig by Nakatani Shuyo. I haven't had a chance to experiment with it yet, but it is made specifically for language identification of Twitter messages.
Twitter will soon be releasing a new (or updated) attribute just for this purpose! See their blog post, Introducing new metadata for Tweets
The new lang attribute specifies the language the Tweet was written in, as identified by Twitter's machine language detection algorithms.
At the time of this writing the lang attribute and language parameter haven't yet appeared, however check the Calendar of API changes to see when they plan on releasing it (currently just specifies "2013").
Update 3/30/2013:
The lang attribute was added to the Streaming API on March 26, 2013. In addition, it was also made available on the REST API on March 6, 2013.
For use in the Twitter Streaming API, language is now a request parameter:
https://dev.twitter.com/docs/streaming-apis/parameters#language
So for English you'd add 'language=en' into your request parameter string.
Twitter just finished it!!
cf calendar API:
https://dev.twitter.com/calendar
March 26, 2013 lang attribute & language parameter appears on streaming Blog post Streaming API.
The twitter API rocks!!

Resources