python-humanize / python-humanize/humanize

Impossible to translate to Romanian

Open
#270 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
756
Forks
148
Avg merge
6d 1h
Merged PRs (30d)
12

Description

I was checking out the package to use it in a project. I'd need to translate it to Romanian, however a summary look reveals that would be a challenging task. For example the ordinal seems to make a map of suffixes for numbers 0-9, but that doesn't work in Romanian:

0th
to my knowledge doesn't exist, but maaaybe among friends you could say "al 0-lea" (m); maybe; no (f) though;
1st
"prima" (f); "primul" (m);
2nd
"a 2-a" (f); "al 2-lea" (m);
3rd
"a 3-a" (f); "al 3-lea" (m);
23rd
"a 23-a" (f); "al 23-lea" (m).

So to give it a chance to translate at least the possible strings, they would need to interpolate the value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by locating the ordinal formatter and its translation or interpolation path; done means Romanian ordinals can express the documented feminine and masculine forms, including values such as 23rd, without assuming only a 0–9 suffix map.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
internationalization, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.