Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Dates in the person view and lists in Russian are shown in the default language #1471

Closed
gunnarhm opened this issue May 7, 2023 · 1 comment

Comments

@gunnarhm
Copy link
Contributor

gunnarhm commented May 7, 2023

When using Russian language, the display of dates in the person view and in lists of descendents are made with "on (day month year)" followed by the date in the default language.
It is expected that it would be displayed with numbers for day and year and the month as a word in Russian.

No leading word for "on" is needed in Russian, but an empty "ru: " entry is needed in the "on (day month year)" table in hd/lang/lexicon.txt to avoid display in the default language.

Similarly, in the "on (weekday day month year)" table in the same file, an entry would be needed for Russian, but it is more complicated. It should be "в" for most days, but "во" for Tuesdays. I do not know how to accomplish that and I do not know where that table is used, but I propose to insert an entry "ru: в" in the "on (weekday day month year)" table to make it в for all weekdays and a good display of the date in Russian.

The problem was reproduced in V7.0.0. GeneWeb: [compiled on 2020-11-01 from commit 71bf38fb0 (2020-10-30)]

gunnarhm added a commit to gunnarhm/geneweb that referenced this issue May 7, 2023
The tables on (day month year) and on (weakday day month year) in hd/lang/lexicon.txt was missing entries for Russian causing display in the default language.
Entries are added. An empty entry for the first and a в for the second, (even if it would be better with во on Tuesdays. 

Solves issue geneweb#1471
canonici pushed a commit that referenced this issue Jun 2, 2023
The tables on (day month year) and on (weakday day month year) in hd/lang/lexicon.txt was missing entries for Russian causing display in the default language.
Entries are added. An empty entry for the first and a в for the second, (even if it would be better with во on Tuesdays. 

Solves issue #1471
@a2line
Copy link
Collaborator

a2line commented Jun 7, 2023

Fixed with #1478

@a2line a2line closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants