[GH-ISSUE #39] Interface language clean up #35

Closed
opened 2026-02-25 21:33:58 +03:00 by kerem · 17 comments
Owner

Originally created by @jasonmunro on GitHub (Mar 7, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/39

Originally assigned to: @jasonmunro on GitHub.

Many of the interface languages were generated with the google translate api - from what I have been told they are hilariously bad. Remove these and leave the 2 (?) actual translations.

Add missing strings per the debug output for each page to the remaining translation files

Originally created by @jasonmunro on GitHub (Mar 7, 2016). Original GitHub issue: https://github.com/cypht-org/cypht/issues/39 Originally assigned to: @jasonmunro on GitHub. Many of the interface languages were generated with the google translate api - from what I have been told they are hilariously bad. Remove these and leave the 2 (?) actual translations. Add missing strings per the debug output for each page to the remaining translation files
kerem 2026-02-25 21:33:58 +03:00
  • closed this issue
  • added the
    core
    I18N
    labels
Author
Owner

@jasonmunro commented on GitHub (Mar 9, 2016):

fixed in master

<!-- gh-comment-id:194508169 --> @jasonmunro commented on GitHub (Mar 9, 2016): fixed in master
Author
Owner

@mat-m commented on GitHub (Mar 13, 2016):

Hello
I did a fresh translation for french, added it in the language folder, but even a php ./config_gen.php did not update the language list in the settings. What do I miss ?

<!-- gh-comment-id:195960234 --> @mat-m commented on GitHub (Mar 13, 2016): Hello I did a fresh translation for french, added it in the language folder, but even a php ./config_gen.php did not update the language list in the settings. What do I miss ?
Author
Owner

@jasonmunro commented on GitHub (Mar 13, 2016):

Thanks for doing this! There is a function in the core modules that defines the list of available langs:
https://github.com/jasonmunro/hm3/blob/master/modules/core/functions.php#L50
So once you add to that it should be available in the settings.

<!-- gh-comment-id:195988134 --> @jasonmunro commented on GitHub (Mar 13, 2016): Thanks for doing this! There is a function in the core modules that defines the list of available langs: https://github.com/jasonmunro/hm3/blob/master/modules/core/functions.php#L50 So once you add to that it should be available in the settings.
Author
Owner

@mat-m commented on GitHub (Mar 13, 2016):

Found and fixed.
Some issues about translations:

  • Date (Mont, Year) in calendar is not translated
  • Some Messages list titles are not translated (although their entry in the left menu is): Flagged, Unread, Everything, All Email
  • In the homepage:

POP3 services are not enabled for this site. Sorry about that!

is not translated, nor the "Update" Link for the timezone

<!-- gh-comment-id:196012739 --> @mat-m commented on GitHub (Mar 13, 2016): Found and fixed. Some issues about translations: - Date (Mont, Year) in calendar is not translated - Some Messages list titles are not translated (although their entry in the left menu is): Flagged, Unread, Everything, All Email - In the homepage: > POP3 services are not enabled for this site. Sorry about that! is not translated, nor the "Update" Link for the timezone
Author
Owner

@jasonmunro commented on GitHub (Mar 13, 2016):

Thanks for tracking those down. All of the missing translations you mentioned should now be fixed.

<!-- gh-comment-id:196015709 --> @jasonmunro commented on GitHub (Mar 13, 2016): Thanks for tracking those down. All of the missing translations you mentioned should now be fixed.
Author
Owner

@dumblob commented on GitHub (Mar 13, 2016):

I just spotted, that the comment on https://github.com/jasonmunro/hm3/blob/master/modules/core/functions.php#L46 doesn't reflect this decision to throw away the Google-translated strings ;)

<!-- gh-comment-id:196043220 --> @dumblob commented on GitHub (Mar 13, 2016): I just spotted, that the comment on https://github.com/jasonmunro/hm3/blob/master/modules/core/functions.php#L46 doesn't reflect this decision to throw away the Google-translated strings ;)
Author
Owner

@jasonmunro commented on GitHub (Mar 14, 2016):

Good catch! Now fixed.

<!-- gh-comment-id:196419762 --> @jasonmunro commented on GitHub (Mar 14, 2016): Good catch! Now fixed.
Author
Owner

@jasonmunro commented on GitHub (Mar 15, 2016):

mat-m, I would love to merge your corrected French translation when you are ready. Just send me a pull request and I will merge it. Thanks!

<!-- gh-comment-id:196906024 --> @jasonmunro commented on GitHub (Mar 15, 2016): mat-m, I would love to merge your corrected French translation when you are ready. Just send me a pull request and I will merge it. Thanks!
Author
Owner

@mat-m commented on GitHub (May 14, 2016):

The line 'Add An E-mail Account' => false, has disappeared from en.php and is not translated anymore.
Keys copy and move should be lowercase in language files
We should have an entry for Download (attachments)

<!-- gh-comment-id:219256733 --> @mat-m commented on GitHub (May 14, 2016): The line `'Add An E-mail Account' => false,` has disappeared from en.php and is not translated anymore. Keys `copy` and `move` should be lowercase in language files We should have an entry for `Download` (attachments)
Author
Owner

@jasonmunro commented on GitHub (May 16, 2016):

The problem with the add an email account string, and the copy/move strings, is they are used in multiple places with different capitalization. I'm going to get this cleaned up today. Strings in the lang files that need a leading capital in some cases and lowercase in others will be defined with the capital in the translation file, and I will use css to convert them to lowercase where need be. I will also add the missing download link.

<!-- gh-comment-id:219449917 --> @jasonmunro commented on GitHub (May 16, 2016): The problem with the add an email account string, and the copy/move strings, is they are used in multiple places with different capitalization. I'm going to get this cleaned up today. Strings in the lang files that need a leading capital in some cases and lowercase in others will be defined with the capital in the translation file, and I will use css to convert them to lowercase where need be. I will also add the missing download link.
Author
Owner

@jasonmunro commented on GitHub (May 16, 2016):

Just pushed fixes for everything and merged the latest pull requests WRT to i18n. Thanks everyone for the feedback. If you notice anything else please let me know!

<!-- gh-comment-id:219523560 --> @jasonmunro commented on GitHub (May 16, 2016): Just pushed fixes for everything and merged the latest pull requests WRT to i18n. Thanks everyone for the feedback. If you notice anything else please let me know!
Author
Owner

@mat-m commented on GitHub (May 18, 2016):

The gear in front of the profiles name has a tip "Edit" which is not translated
Same applies for Edit, Delete and Send To in local contacts.

Since the translations exist, it is more a problem of using it in the code.

<!-- gh-comment-id:220171442 --> @mat-m commented on GitHub (May 18, 2016): The gear in front of the profiles name has a tip "Edit" which is not translated Same applies for Edit, Delete and Send To in local contacts. Since the translations exist, it is more a problem of using it in the code.
Author
Owner

@jasonmunro commented on GitHub (May 18, 2016):

Good catch! Fixed in github.com/jasonmunro/hm3@c0db0ae2c8
Thanks!

<!-- gh-comment-id:220174757 --> @jasonmunro commented on GitHub (May 18, 2016): Good catch! Fixed in https://github.com/jasonmunro/hm3/commit/c0db0ae2c8fb881acb9b0e545e22cfb451d77855 Thanks!
Author
Owner

@jasonmunro commented on GitHub (Jun 21, 2016):

Added some new strings today. I think we are getting close to being i18n complete.

<!-- gh-comment-id:227351330 --> @jasonmunro commented on GitHub (Jun 21, 2016): Added some new strings today. I think we are getting close to being i18n complete.
Author
Owner

@jasonmunro commented on GitHub (Aug 30, 2016):

Another round of strings added to the language files for the latest feature updates

<!-- gh-comment-id:243317029 --> @jasonmunro commented on GitHub (Aug 30, 2016): Another round of strings added to the language files for the latest feature updates
Author
Owner

@jasonmunro commented on GitHub (Apr 14, 2017):

Added more strings to the language files. I'm planning a release soon, so if anybody has time to update a language it would be much appreciated!

<!-- gh-comment-id:294218664 --> @jasonmunro commented on GitHub (Apr 14, 2017): Added more strings to the language files. I'm planning a release soon, so if anybody has time to update a language it would be much appreciated!
Author
Owner

@jasonmunro commented on GitHub (Sep 24, 2018):

so much for that soon to be created "release" from April 2017! I'm actually thinking about this again, so I will create a more specific issue around translations if need be. I'm trying to remove generic issues that don't get attention and replace them with more specific ones that are easier to deal with, so i"m closing this.

<!-- gh-comment-id:424156174 --> @jasonmunro commented on GitHub (Sep 24, 2018): so much for that soon to be created "release" from April 2017! I'm actually thinking about this again, so I will create a more specific issue around translations if need be. I'm trying to remove generic issues that don't get attention and replace them with more specific ones that are easier to deal with, so i"m closing this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#35
No description provided.