# Bug OP-8781 - Internal server error on custom fields view when using Slovene language

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8781

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.3.2 |
| Observed in versions |  |
| Sprint | 11.3.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 11.3.1

### **Logs**

``` text
translation data {:one=>"1 projekt", :other=>"%{count} projektov", :zero=>"Brez projektov"} can not be used with :count => 2. key 'two' is missing.: translation data {:one=>"1 projekt", :other=>"%{count} projektov", :zero=>"Brez projektov"} can not be used with :count => 2. key 'two' is missing.
```

### **Steps to reproduce:**

1.  Create a **work package** custom field
2.  Enable it in exactly **2** projects
3.  Change the user's language to **Slovene**
4.  Go to Administration -\> Custom Fields

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21451/content"></div></figure>

### **Actual Behavior**

You get an internal server error.

### **Expected Behavior**

You should see the custom fields view in Slovene.

## Discussion

This probably boils down to a missing pluralization in the translation for Slovene in particular. The goal here would be both to amend the missing translation and adjust the code so that it does not fail like this in case a translation is missing. It's better to still be able to use the application but with a missing translation than not being able to use it at all.
