I have an application that uses a classic frontend for the Notes users and now has a XPages frontend for web users.

I've used the Localization feature for making the application multilangual. But this doesn't help me on translating column values in a view.

I've come up with a solution via text files which works well in non-categorized views.

I've created a text file for each supported language and linked them as a bundle ressource to the XPages. In the view column I used this code :

```
var cat = @ReplaceSubstring(rowData.getColumnValue("Category")," ","");
var catStr = String(cat);
return categories[catStr];

```

If I use the same method in a categorized column, I get an error :

> 
> Error while executing JavaScript computed expression
>  Script interpreter error, row=1, column=5: unknown element '' in Java-class 'java.util.PropertyResourceBundle'
> 
> 
> 

Does anyone know what this means ? Or are there better solutions for getting a view columns value localized ?