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

Locale configuration for Schedule #184

Closed
lpenet opened this issue Apr 11, 2016 · 1 comment
Closed

Locale configuration for Schedule #184

lpenet opened this issue Apr 11, 2016 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@lpenet
Copy link

lpenet commented Apr 11, 2016

Would it be possible to add some other attributes of fullCalendar to p-schedule ?

Having :

  • minDate
  • maxDate
  • buttonText
  • columnFormat
  • dayNames
  • monthNames

would be great.

dayNames and monthNames are mandatory to use the schedule in languages other than English.

@cagataycivici cagataycivici changed the title New attributes for p-schedule Locale configuration for Schedule Apr 13, 2016
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Apr 13, 2016
@cagataycivici cagataycivici added this to the 1.0.0-beta.2 milestone Apr 13, 2016
@cagataycivici cagataycivici self-assigned this Apr 13, 2016
@cagataycivici
Copy link
Member

I've grouped all localized keys under locale object;

<p-schedule [events]="events" [locale]="es"></p-schedule>
export class MyModel {

    es: any;

    ngOnInit() {
        this.es = {
            monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio',
                'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre']
        };
    }
}

cagataycivici pushed a commit that referenced this issue Jul 25, 2016
atretyak1985 added a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
* Create a Subnets page in Organization Management (Settings) primefaces#184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants