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

Not too smooth localization process #1783

Open
yfdyh000 opened this issue Aug 9, 2021 · 1 comment
Open

Not too smooth localization process #1783

yfdyh000 opened this issue Aug 9, 2021 · 1 comment

Comments

@yfdyh000
Copy link

yfdyh000 commented Aug 9, 2021

This is some suggestions, I failed to do some because I unskilled the code and community.

  1. The Currently Shaarli has no translation/internationalization/localization system available and is single-language. are outdated in CONTRIBUTING.md. Update it and point to doc/md/dev/Translations.md (or https://shaarli.readthedocs.io/en/master/dev/Translations/).
  2. Did not mention the application\Languages.php for adding new locale in Translations.md.
  3. "Open inc/languages/<lang>/LC_MESSAGES/shaarli.po under Shaarli's directory" is confusing when "Add a new language", I finally tried anyone language ("de"), "save as" and updated from the source code, which was lucky.
  4. I have encountered an unexpected errors for "Plural-Forms", the C:\Program Files (x86)\Poedit\GettextTools\bin\msgcat.exe: msgid 'Search' is used without plural and with plural., it blocks updating po(t) file from code. I finally resolve it by excluding files (see the X-Poedit-SearchPathExcluded of Add Chinese (Simplified) translation #1781). Other locales (like 'ja') may have similar case.
  5. This script doesn't seem to work for me, put and access it, I didn't get a good result, I eventually access the pages listed in that document one by one. I recommend integrating this script to the /shaarli/inc directory.
  6. Provides a more one-click deployment script / steps for various OS / cloud platform, it may be better.
@ArthurHoaro
Copy link
Member

Thank you for your feedbacks. I mostly wrote this documentation when I wrote the translation system (and French translation) a while ago, so it's not the most user friendly. We should definitely address your points.

@ArthurHoaro ArthurHoaro added this to the 1.1.0 milestone Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants