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

Négociation de locales #17

Open
max-l opened this issue Feb 11, 2012 · 2 comments
Open

Négociation de locales #17

max-l opened this issue Feb 11, 2012 · 2 comments
Assignees

Comments

@max-l
Copy link
Owner

max-l commented Feb 11, 2012

Implémenter cette fonction (dans core) :

 def negotiateLocale(catalog: I18nCatalog, localesInOrderOfPrefference: Seq[I18nLocale]): I18nLocale
@ghost ghost assigned jrlemieux Feb 11, 2012
@jrlemieux
Copy link
Collaborator

Que penses-tu de:

def negotiateLocale(localesInOrderOfPrefference:
Seq[I18nLocale])(implicit catalog: I18nCatalog): I18nLocale

J.

Le 2012-02-11 à 16:29, "Maxime Lévesque"
[email protected]
a écrit :

Implémenter cette fonction (dans core) :

def negotiateLocale(catalog: I18nCatalog, localesInOrderOfPrefference: Seq[I18nLocale]): I18nLocale

Reply to this email directly or view it on GitHub:
#17

@max-l
Copy link
Owner Author

max-l commented Feb 12, 2012

Pourquoi pas ... je pense appeller cette fonction dans le code système, donc dans mon cas je vais l'appeller
explicitement, mais si cette fonction est appellé dans du code applicatif, ça va faire quelques caractères de moins
à taper....

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