Sitelet https://web.archive.org/web/20210120041125/https://github.com/EitanBlumin/CRUDE-ASP/issues/101
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

Add i18n support in the datatable wrapper #101

Open
EitanBlumin opened this issue Mar 28, 2019 · 0 comments
Open

Add i18n support in the datatable wrapper #101

EitanBlumin opened this issue Mar 28, 2019 · 0 comments

Comments

@EitanBlumin
Copy link
Owner

@EitanBlumin EitanBlumin commented Mar 28, 2019 •

Base:
https://datatables.net/manual/i18n

  • Add "language" element to the respite_crud static class in datatable_respite_crud.js
  • Add static function to translate a string based on the language element. If not found in element, return original string input, but log warning in console about the missing translation.
  • Replace all literal strings used in the script with the translation function, and add each such string to the language element.
  • Add an Ajax function to load a json file to use as language element, same as in datatables.
@EitanBlumin EitanBlumin added this to the Alpha release 1 milestone Mar 28, 2019
@EitanBlumin EitanBlumin self-assigned this Mar 28, 2019
@EitanBlumin EitanBlumin added this to To do in AdminLTE (Web Layer) via automation Mar 28, 2019
@EitanBlumin EitanBlumin changed the title Add localization support in the datatable wrapper Add i18n support in the datatable wrapper Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.