sfPropelBuildI18nDefaultCulturePlugin - 1.0.2

Add the essentials methods for default culture with I18N and Propel

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

sfPropelBuildI18nDefaultCulture plugin

Introduction

The sfPropelBuildI18nDefaultCulture plugin is an automatic task for add the snippet "Default culture content for i18n table" in your model.

Installation

  • Install plugin

    $ symfony plugin:install sfPropelBuildI18nDefaultCulturePlugin
    
  • Clear your cache

    $ symfony cc
    

Usage

  • You must generate your model before use this plugin

    $ symfony propel:build-model
    
  • After this, you can add the 4 essentials method for support default culture in your I18n model

    $ symfony propel:build-i18n
    
  • Clear your cache

    $ symfony cc
    

Caution

This plugin modified your user model (./lib/model/*.php). You must save your user model before use this plugin.

TODO

  • Add an option in command-line for exclude some table to the i18n process.