Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Create your module with mymodule.info.yml

name: 'My Module'
description: 'Custom Module'
package: Custom
type: module
core: 8.x

and then add this code to .info.yml file to define your translation file:


project: mymodule
'interface translation project': mymodule
'interface translation server pattern': modules/custom/mymodule/translations/mymodule-%language.po

 

Placing the po file at modules/custom/mymodule/translations/mymodule-fr.po for example for french language.

now you could update the translation at /fr/admin/reports/translations

and dont forget to clear the cache :)

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon