Skip to content

Impossible to translate to Romanian #270

Description

@alexei

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.

Activity

  1. hugovk commented on Oct 20, 2025

    @hugovk
    Member

    Thanks for the report, would you like to propose a fix?

  2. alexei commented on Sep 18, 2026

    @alexei
    Author

    @hugovk I moved on from this project and I postponed getting back to you until I forgot about it.

    I saw #331 and #361 and to me they look like hacks that avoid the problem. I think Django does it right, however including the placeholder in all strings might be quite a sizeable change and you need to decide whether you'd accept that.

  3. hugovk commented on Sep 18, 2026

    @hugovk
    Member

    Thanks for letting me know about #331 and #361, glad we didn't merge them :) Let's keep this open, if someone wants to look into doing it the Django way we can evaluate it then.

  4. alexei commented on Sep 18, 2026

    @alexei
    Author

    @hugovk when I said the changeset would be quite sizeable, I meant #403

  5. alexei commented on Sep 18, 2026

    @alexei
    Author

    I added Romanian translations in https://github.com/alexei/humanize/tree/add-romanian-translation but it looks like I can't stack them on top of #403 in this repo. I'm gonna stop and wait for that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions