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

Language for the data of a column #6359

Closed
pma-import opened this Issue May 24, 2015 · 9 comments

Comments

Projects
None yet
3 participants
@pma-import
Copy link

pma-import commented May 24, 2015

Hi, in order to enable the spell-checking of the browser it would be nice to be able to set a language for each column of a table (for instance one can be 'English' while the other 'French'). This value would be used as soon as a row is created, during edition and at display thanks to the HTML "lang" attribute.


@nisargjhaveri

This comment has been minimized.

Copy link
Contributor

nisargjhaveri commented Aug 2, 2015

Looks useful.
Should we add another field for lang in pma__column_info?

@lem9

This comment has been minimized.

Copy link
Contributor

lem9 commented Aug 2, 2015

@nisargjhaveri Yes. Are you working on this?

See also PMA_tryUpgradeTransformations() and sql/upgrade_column_info_4_3_0+.sql for an idea about how to help users upgrade their table, but we'll have to discuss about this on developers@phpmyadmin.net.

@nisargjhaveri

This comment has been minimized.

Copy link
Contributor

nisargjhaveri commented Aug 2, 2015

Yes, I am planning to work on this.

Can you think of any other approach to this?

@lem9

This comment has been minimized.

Copy link
Contributor

lem9 commented Aug 2, 2015

Approach to the table upgrade?

@nisargjhaveri

This comment has been minimized.

Copy link
Contributor

nisargjhaveri commented Aug 2, 2015

No, approach to the RFE.

@lem9

This comment has been minimized.

Copy link
Contributor

lem9 commented Aug 2, 2015

To control the spell-checking, it seems that this is what HTML offers. See also
http://lmgtfy.com/?q=browser+spell+check+lang+attribute

@lem9 lem9 self-assigned this Aug 2, 2015

@nisargjhaveri

This comment has been minimized.

Copy link
Contributor

nisargjhaveri commented Aug 2, 2015

I'm sorry for the misunderstanding. I'm aware of the HTML lang attribute.

I was asking if you can think of some other way to get preference for each column from user in which we don't have to update the config table structure, as we don't prefer to update the structure frequently. Anyway, I'll post on the mailing list about the table structure update.

@lem9

This comment has been minimized.

Copy link
Contributor

lem9 commented Aug 2, 2015

It could be to create a new table in pmadb but the correct place, IMO, is in the existing table.

@lem9

This comment has been minimized.

Copy link
Contributor

lem9 commented Aug 3, 2015

After a discussion on the developers mailing list, we don't think that this would be of general use.

@lem9 lem9 closed this Aug 3, 2015

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